AC-910 Fixed project status icons. AC-915 Fixed permission form.

This commit is contained in:
chris Houseknecht
2014-01-15 02:14:29 -05:00
parent 902008d17e
commit 46e5e078b6
4 changed files with 21 additions and 18 deletions

View File

@@ -18,12 +18,12 @@ angular.module('PermissionsHelper', [])
scope.projectrequired = false;
scope.permissionTypeHelp =
"<dl>\n" +
"<dt>Admin</dt>\n" +
"<dd>Allow the user or team full access to the inventory. This includes reading, writing, deletion of the inventory and inventory sync operations.</dd>\n" +
"<dt>Read</dt>\n" +
"<dd>Only allow the user or team to view the inventory.</dd>\n" +
"<dt>Write</dt>\n" +
"<dd>Allow the user or team to modify hosts and groups contained in the inventory, add new hosts and groups, and perform inventory sync operations.\n" +
"<dt>Admin</dt>\n" +
"<dd>Allow the user or team full access to the inventory. This includes reading, writing, deletion of the inventory and inventory sync operations.</dd>\n" +
"</dl>\n";
}
else {
@@ -40,7 +40,7 @@ angular.module('PermissionsHelper', [])
}
if (reset) {
scope.permission_type = null;
scope.permission_type = (scope.category == 'Inventory') ? 'read' : 'run'; //default to the first option
}
}