Skip to content

Commit

Permalink
Push back role permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
zlwaterfield committed Nov 19, 2024
1 parent f209ae8 commit c04e1ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ee/api/rbac/role.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ class RoleViewSet(TeamAndOrgViewSetMixin, viewsets.ModelViewSet):
scope_object = "organization"
serializer_class = RoleSerializer
queryset = Role.objects.all()
permission_classes = [RolePermissions, PremiumFeaturePermission]
premium_feature = AvailableFeature.ROLE_BASED_ACCESS
permission_classes = [RolePermissions]

def safely_get_queryset(self, queryset):
return queryset.filter(**self.request.GET.dict())
Expand Down

0 comments on commit c04e1ee

Please sign in to comment.