mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 01:17:37 -02:30
update permission list command language
This commit is contained in:
@@ -68,7 +68,7 @@ export function PermissionsList($scope, $rootScope, $location, $log, $routeParam
|
|||||||
// if the permission includes adhoc (and is not admin), display that
|
// if the permission includes adhoc (and is not admin), display that
|
||||||
$scope.getPermissionText = function () {
|
$scope.getPermissionText = function () {
|
||||||
if (this.permission.permission_type !== "admin" && this.permission.run_ad_hoc_commands) {
|
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 {
|
} else {
|
||||||
return this.permission.permission_type;
|
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
|
// if the permission includes adhoc (and is not admin), display that
|
||||||
$scope.getPermissionText = function () {
|
$scope.getPermissionText = function () {
|
||||||
if (this.permission.permission_type !== "admin" && this.permission.run_ad_hoc_commands) {
|
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 {
|
} else {
|
||||||
return this.permission.permission_type;
|
return this.permission.permission_type;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user