{"categories":[{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content/3"}],"enrichment":{"capability":"Integrates django-guardian's object-level permissions into Django REST Framework, enabling fine-grained access control on API resources through filtering and automatic permission assignment.","skillfed_tags":["object-level-permissions","access-control"],"use_cases":["Multi-tenant SaaS APIs where each user should only see and modify their own data or shared resources.","Collaborative platforms where permissions are assigned per-object to users and groups dynamically.","Admin dashboards that expose REST endpoints with row-level security based on object permissions.","Workflows where creating a resource automatically grants specific permissions to the creator and designated groups."],"what_it_does":"djangorestframework-guardian bridges django-guardian's object-level permission system into Django REST Framework's API layer. It provides two main tools: ObjectPermissionsFilter, which restricts querysets to only objects a user has permission to view, and ObjectPermissionsAssignmentMixin, which automatically assigns permissions to users or groups when objects are created or updated via serializers.\n\nThe package is designed for applications that need granular, per-object access control in REST APIs\u2014where different users should see and modify different subsets of the same model. It requires django-guardian to be configured with its ObjectPermissionBackend and works alongside custom permission classes that map HTTP methods to specific permission names.","worth_installing":"Yes, if you are building a Django REST Framework API that requires object-level permissions beyond Django's standard model-level checks. The package is stable (Production/Stable status), has no known vulnerabilities, and low install friction. However, maintenance is infrequent (409 days since last release), so verify it works with your specific Django and djangorestframework versions before committing to it in a new project."},"id":"djangorestframework-guardian","links":{"html":"https://skillfed.io/packages/djangorestframework-guardian","md":"https://skillfed.io/packages/djangorestframework-guardian.md","pypi":"https://pypi.org/project/djangorestframework-guardian/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-07-01","license_spdx":"BSD-3-Clause","license_treatment":"permissive","name":"djangorestframework-guardian","python_support":"supports_current","summary":"django-guardian support for Django REST Framework"},"popularity":{"monthly_downloads":160532,"position":10658,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.0"}
