mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
update permission list command language
This commit is contained in:
parent
ce31b98635
commit
47e045e9fe
@ -68,7 +68,7 @@ export function PermissionsList($scope, $rootScope, $location, $log, $routeParam
|
||||
// if the permission includes adhoc (and is not admin), display that
|
||||
$scope.getPermissionText = function () {
|
||||
if (this.permission.permission_type !== "admin" && this.permission.run_ad_hoc_commands) {
|
||||
return this.permission.permission_type + " + ad hoc";
|
||||
return this.permission.permission_type + " + run commands";
|
||||
} else {
|
||||
return this.permission.permission_type;
|
||||
}
|
||||
|
||||
@ -297,7 +297,7 @@ export function UsersEdit($scope, $rootScope, $compile, $location, $log, $routeP
|
||||
// if the permission includes adhoc (and is not admin), display that
|
||||
$scope.getPermissionText = function () {
|
||||
if (this.permission.permission_type !== "admin" && this.permission.run_ad_hoc_commands) {
|
||||
return this.permission.permission_type + " + ad hoc";
|
||||
return this.permission.permission_type + " + run commands";
|
||||
} else {
|
||||
return this.permission.permission_type;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user