Global and object permission filter for viewsets
The built-in DjangoObjectPermissionsFilter from DRF doesn't accept global (table-level) permissions as higher-level than object permissions. This filter replaces the built-in one and sets the 'accept_global_perms' argument to True so that global permissions are accepted when filtering objects based on user view permissions.
Please register or sign in to comment