Merge branch 'devel' of github.com:ansible/ansible-tower into migration

This commit is contained in:
Akita Noek
2016-04-12 16:30:09 -04:00
5 changed files with 77 additions and 1 deletions

View File

@@ -113,6 +113,11 @@ class Inventory(CommonModel, ResourceMixin):
role_description='May update the inventory',
permissions = {'read': True, 'update': True}
)
usage_role = ImplicitRoleField(
role_name='Inventory User',
role_description='May use this inventory, but not read sensitive portions or modify it',
permissions = {'use': True}
)
executor_role = ImplicitRoleField(
role_name='Inventory Executor',
role_description='May execute jobs against this inventory',