fix: Make SAMLConfiguration viewset readonly (#247)
The ony use is a GET request in admin portal so this view need not be post/put friendly right now. It may actually get removed in an upcoming iteration, or stay readonly. Fixes: SEC-1418
This commit is contained in:
@@ -16,7 +16,7 @@ class SAMLConfigurationMixin:
|
||||
serializer_class = SAMLConfigurationSerializer
|
||||
|
||||
|
||||
class SAMLConfigurationViewSet(SAMLConfigurationMixin, viewsets.ModelViewSet):
|
||||
class SAMLConfigurationViewSet(SAMLConfigurationMixin, viewsets.ReadOnlyModelViewSet):
|
||||
"""
|
||||
A View to handle SAMLConfiguration GETs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user