kc-tabs-client-role.html 1.4 KB

1234567891011121314151617
  1. <div data-ng-controller="RoleTabCtrl">
  2. <h1 data-ng-show="create">{{:: 'add-role' | translate}}</h1>
  3. <h1 data-ng-hide="create">{{role.name|capitalize}}<i class="pficon pficon-delete clickable" data-ng-show="!create && client.access.configure"
  4. data-ng-hide="changed" data-ng-click="remove()"></i></h1>
  5. <ul class="nav nav-tabs" data-ng-show="!create">
  6. <li ng-class="{active: !path[6]}"><a href="#/realms/{{realm.realm}}/clients/{{client.id}}/roles/{{role.id}}">{{:: 'details' | translate}}</a></li>
  7. <li ng-class="{active: path[6] && path[6] == 'role-attributes'}"><a href="#/realms/{{realm.realm}}/clients/{{client.id}}/roles/{{role.id}}/role-attributes">{{:: 'attributes' | translate}}</a></li>
  8. <li ng-class="{active: path[6] && path[6] == 'permissions'}" data-ng-show="serverInfo.featureEnabled('ADMIN_FINE_GRAINED_AUTHZ') && access.manageAuthorization && client.access.configure">
  9. <a href="#/realms/{{realm.realm}}/clients/{{client.id}}/roles/{{role.id}}/permissions">{{:: 'authz-permissions' | translate}}</a>
  10. <kc-tooltip>{{:: 'manage-permissions-role.tooltip' | translate}}</kc-tooltip>
  11. </li>
  12. <li ng-class="{active: path[6] && path[6] == 'users'}" data-ng-show="access.viewUsers">
  13. <a href="#/realms/{{realm.realm}}/clients/{{client.id}}/roles/{{role.id}}/users">{{:: 'authz-users' | translate}}</a>
  14. </li>
  15. </ul>
  16. </div>