mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
AC-537 Allow creating credentials through main credentials list.
This commit is contained in:
parent
40b56c5175
commit
895c908f5a
@ -437,7 +437,7 @@ class UserDetail(RetrieveUpdateDestroyAPIView):
|
||||
if changed:
|
||||
raise PermissionDenied('Cannot change %s' % ', '.join(changed.keys()))
|
||||
|
||||
class CredentialList(ListAPIView):
|
||||
class CredentialList(ListCreateAPIView):
|
||||
|
||||
model = Credential
|
||||
serializer_class = CredentialSerializer
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user