mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
working commit of rbac add permissions flow
This commit is contained in:
parent
6b37054621
commit
433ba95add
@ -72,6 +72,16 @@ export default ['$rootScope', '$scope', 'GetBasePath', 'Rest', '$q', function (r
|
||||
.roles[key].name };
|
||||
});
|
||||
|
||||
scope.roleKey = Object
|
||||
.keys(scope.object.summary_fields.roles)
|
||||
.map(function(key) {
|
||||
return {
|
||||
name: scope.object.summary_fields
|
||||
.roles[key].name,
|
||||
description: scope.object.summary_fields
|
||||
.roles[key].description };
|
||||
});
|
||||
|
||||
// handle form tabs
|
||||
scope.toggleFormTabs = function(list) {
|
||||
scope.usersSelected = (list === 'users');
|
||||
|
@ -19,7 +19,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="LoginModal-body AddPermissions-body">
|
||||
|
||||
<div class="AddPermissions-directions">
|
||||
<span class="AddPermissions-directionNumber">
|
||||
1.
|
||||
|
Loading…
Reference in New Issue
Block a user