mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 19:51:08 -03:30
Added missing permission grants on a Inventory updater and executor roles
This commit is contained in:
@@ -111,10 +111,12 @@ class Inventory(CommonModel, ResourceMixin):
|
|||||||
updater_role = ImplicitRoleField(
|
updater_role = ImplicitRoleField(
|
||||||
role_name='Inventory Updater',
|
role_name='Inventory Updater',
|
||||||
role_description='May update the inventory',
|
role_description='May update the inventory',
|
||||||
|
permissions = {'read': True, 'update': True}
|
||||||
)
|
)
|
||||||
executor_role = ImplicitRoleField(
|
executor_role = ImplicitRoleField(
|
||||||
role_name='Inventory Executor',
|
role_name='Inventory Executor',
|
||||||
role_description='May execute jobs against this inventory',
|
role_description='May execute jobs against this inventory',
|
||||||
|
permissions = {'read': True, 'execute': True}
|
||||||
)
|
)
|
||||||
|
|
||||||
def get_absolute_url(self):
|
def get_absolute_url(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user