mirror of
https://github.com/ansible/awx.git
synced 2026-07-29 08:59:55 -02:30
AC-183 Fixed issues on permissions form.
This commit is contained in:
@@ -193,6 +193,10 @@ function PermissionsEdit ($scope, $rootScope, $compile, $location, $log, $routeP
|
||||
scope.category = 'Deploy';
|
||||
if (data['permission_type'] != 'run' && data['permission_type'] != 'check' ) {
|
||||
scope.category = 'Inventory';
|
||||
scope.projectrequired = false;
|
||||
}
|
||||
else {
|
||||
scope.projectrequired = true;
|
||||
}
|
||||
master['category'] = scope.category;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user