mirror of
https://github.com/ansible/awx.git
synced 2026-03-17 00:47:29 -02:30
Permission -> RBAC fixes in our inventory tests
This commit is contained in:
@@ -117,7 +117,7 @@ class ModelAccessPermission(permissions.BasePermission):
|
||||
check_method = getattr(self, 'check_%s_permissions' % request.method.lower(), None)
|
||||
result = check_method and check_method(request, view, obj)
|
||||
if not result:
|
||||
print('Yarr permission denied: %s %s' % (repr(obj), request.method))
|
||||
print('Yarr permission denied: %s %s' % (repr(obj), request.method)) # TODO: XXX: This shouldn't have been committed but anoek is sloppy, remove me after we're done fixing bugs
|
||||
raise PermissionDenied()
|
||||
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user