mirror of
https://github.com/ansible/awx.git
synced 2026-07-12 00:44:36 -02:30
New permission for users and teams that allow creating job templates,
this makes Deployment permissions more granular. Includes unit tests and a migration to promote existing "run" permissions to "create". Also some slight doc updates to denote that this implies "run" and "check"
This commit is contained in:
@@ -107,6 +107,10 @@ angular.module('PermissionFormDefinition', [])
|
||||
value: 'admin',
|
||||
ngShow: "category == 'Inventory'"
|
||||
}, {
|
||||
label: 'Create',
|
||||
value: 'create',
|
||||
ngShow: "category == 'Deploy'"
|
||||
}, {
|
||||
label: 'Run',
|
||||
value: 'run',
|
||||
ngShow: "category == 'Deploy'"
|
||||
@@ -135,4 +139,4 @@ angular.module('PermissionFormDefinition', [])
|
||||
|
||||
related: { }
|
||||
|
||||
}); // Form
|
||||
}); // Form
|
||||
|
||||
@@ -34,6 +34,8 @@ angular.module('PermissionsHelper', [])
|
||||
} else {
|
||||
scope.projectrequired = true;
|
||||
html = "<dl>\n" +
|
||||
"<dt>Create</dt>\n" +
|
||||
"<dd>Allow the user or team to create deployments. This implies that they can run and check deployments</dd>\n" +
|
||||
"<dt>Run</dt>\n" +
|
||||
"<dd>Allow the user or team to perform a live deployment of the project against the inventory. In Run mode modules will " +
|
||||
"be executed, and changes to the inventory will occur.</dd>\n" +
|
||||
|
||||
Reference in New Issue
Block a user