1
0
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:
John Mitchell 2016-03-04 11:14:01 -05:00
parent 6b37054621
commit 433ba95add
2 changed files with 10 additions and 1 deletions

View File

@ -72,6 +72,16 @@ export default ['$rootScope', '$scope', 'GetBasePath', 'Rest', '$q', function (r
.roles[key].name }; .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 // handle form tabs
scope.toggleFormTabs = function(list) { scope.toggleFormTabs = function(list) {
scope.usersSelected = (list === 'users'); scope.usersSelected = (list === 'users');

View File

@ -19,7 +19,6 @@
</div> </div>
</div> </div>
<div class="LoginModal-body AddPermissions-body"> <div class="LoginModal-body AddPermissions-body">
<div class="AddPermissions-directions"> <div class="AddPermissions-directions">
<span class="AddPermissions-directionNumber"> <span class="AddPermissions-directionNumber">
1. 1.