{{bannerPrefix}} {{bannerText}}

{{#if (and model.approved (not currentUserHasAuthorized) (or (not model.requestEntity) currentUserIsRequesting))}} {{else}}
{{#if model.requestEntity.canRead}} {{requestorName}} {{else}} {{requestorName}} {{/if}} {{#if currentUserIsRequesting}}are{{else}}is{{/if}} {{#if model.approved}} authorized to access {{model.requestPath}} {{else}} requesting access to {{model.requestPath}} {{/if}}
{{#if (or (not model.requestEntity) currentUserIsRequesting)}}

Accessor

{{model.id}}
{{/if}}
{{#if (gt model.authorizations.length 0)}} Already approved by {{#each model.authorizations as |authorization index|}} {{~#if authorization.canRead~}} {{authorization.name}} {{~else~}} {{authorization.name}} {{~/if~}}{{#if (lt (inc index) model.authorizations.length)}},{{/if}} {{/each}} {{else}} Awaiting authorization. {{/if}}
{{/if}} {{#if controlGroupResponse.token}}

We’ve saved your request token, but you may want to copy it just in case: {{controlGroupResponse.token}}

{{/if}} {{#unless (and model.approved (or (not model.requestEntity) currentUserIsRequesting))}}
{{#if model.canAuthorize}} {{#if (or model.approved currentUserHasAuthorized)}} Back {{else}} {{/if}} {{else}} {{/if}}
{{/unless}}