mirror of
https://github.com/ansible/awx.git
synced 2026-03-24 04:15:02 -02:30
fix a bug that prevents unpriveleged users from listing CredentialTypes
see: #6737
This commit is contained in:
@@ -899,6 +899,9 @@ class CredentialTypeAccess(BaseAccess):
|
||||
return False
|
||||
return super(CredentialTypeAccess, self).get_method_capability(method, obj, parent_obj)
|
||||
|
||||
def get_queryset(self):
|
||||
return self.model.objects.all()
|
||||
|
||||
|
||||
class CredentialAccess(BaseAccess):
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user