2019-05-01 18:09:29 +00:00
|
|
|
{{#app-view class=(concat 'role ' (if (or isAuthorized isEnabled) 'edit' 'list')) loading=isLoading authorized=isAuthorized enabled=isEnabled}}
|
2020-01-15 09:15:54 +00:00
|
|
|
{{#block-slot name='notification' as |status type|}}
|
2019-05-01 18:09:29 +00:00
|
|
|
{{partial 'dc/acls/roles/notifications'}}
|
|
|
|
{{/block-slot}}
|
2020-01-15 09:15:54 +00:00
|
|
|
{{#block-slot name='disabled'}}
|
2019-05-01 18:09:29 +00:00
|
|
|
{{partial 'dc/acls/disabled'}}
|
|
|
|
{{/block-slot}}
|
2020-01-15 09:15:54 +00:00
|
|
|
{{#block-slot name='authorization'}}
|
2019-05-01 18:09:29 +00:00
|
|
|
{{partial 'dc/acls/authorization'}}
|
|
|
|
{{/block-slot}}
|
2020-01-15 09:15:54 +00:00
|
|
|
{{#block-slot name='breadcrumbs'}}
|
2019-05-01 18:09:29 +00:00
|
|
|
<ol>
|
|
|
|
<li><a data-test-back href={{href-to 'dc.acls.roles'}}>All Roles</a></li>
|
|
|
|
</ol>
|
|
|
|
{{/block-slot}}
|
2020-01-15 09:15:54 +00:00
|
|
|
{{#block-slot name='header'}}
|
2019-05-01 18:09:29 +00:00
|
|
|
<h1>
|
|
|
|
{{#if isAuthorized }}
|
|
|
|
{{#if create }}
|
|
|
|
New Role
|
|
|
|
{{else}}
|
|
|
|
Edit Role
|
|
|
|
{{/if}}
|
|
|
|
{{else}}
|
|
|
|
Access Controls
|
|
|
|
{{/if}}
|
|
|
|
</h1>
|
|
|
|
{{/block-slot}}
|
2020-01-15 09:15:54 +00:00
|
|
|
{{#block-slot name='content'}}
|
2019-05-01 18:09:29 +00:00
|
|
|
{{ partial 'dc/acls/roles/form'}}
|
|
|
|
{{/block-slot}}
|
|
|
|
{{/app-view}}
|