Update Job start / access permissions

This commit is contained in:
Wayne Witzel III
2016-04-12 13:28:03 -04:00
parent 98dd79775b
commit e5b9766c8f
4 changed files with 33 additions and 6 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',