mirror of
https://github.com/ansible/awx.git
synced 2026-02-02 18:18:12 -03:30
More job template tests, enable creating a new job by posting to the job template job list.
This commit is contained in:
@@ -511,7 +511,7 @@ class JobTemplateAccess(BaseAccess):
|
||||
def can_change(self, obj, data):
|
||||
'''
|
||||
'''
|
||||
return False # FIXME
|
||||
return self.user.is_superuser # FIXME
|
||||
|
||||
class JobAccess(BaseAccess):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user