diff --git a/dojo/api_v2/views.py b/dojo/api_v2/views.py index a5f0de97af7..b106e664e9f 100644 --- a/dojo/api_v2/views.py +++ b/dojo/api_v2/views.py @@ -208,6 +208,7 @@ class RoleViewSet(viewsets.ReadOnlyModelViewSet): def filter_queryset(self, queryset): return Role.objects.all().order_by('id') + # Authorization: object-based @extend_schema_view( list=extend_schema(