Django-scoped-permissions

Latest version: v0.1.8

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.1.0

* (core): Renamed action → verb
* (core): scopes_grant_permissions now returns True if required_scopes is empty.
* (docs): Add remaining documentation
* (guards): Introduce new guard system
* (graphql): ScopedDjangoNode checks permission with a "read" verb by default
* (graphql): All mutations use the new guard system
* (decorators): Now support and uses new guard system

0.0.9

* Fix bug with decorators context

0.0.8

* Fix bad graphene-django-cud pin

0.0.7

* (docs): Add documentation
* Improve core
- Improve primary match-checking method `scope_matches`, it should now
correctly match substrings.
- Add `scope_grants_permission` method for singular permission matching.
- Fix some formatting
- Add tests
* (core): Update `expand_scopes`, change return pattern to Iterable
* (models): Rename HasScopedPermissionMixin → ScopedPermissionHolder
- Instances of the class are now referred to as "holders".
* (models): Add ScopedPermissionGroupModel model and add to ScopedPermissionHolder as m2m-field.
* (models): Add `add_or_create_permission` method on ScopedPermissionHolder.
* (graphql): Add context resolution to decorators.
* (dev): Add pytest-testmon as dev dependency for watchable tests.
* BREAKING (models): Deprecate `get_scopes` and `get_base_scopes`. Rename to `get_granting_scopes` and `get_required_scopes`.
* BREAKING: Rename file `graphql_util.py` → `util.py`

0.0.6

* (Graphql): Fix an issue with bad permission checks

0.0.5

* Fix an issue with permissions not being spread properly

Page 2 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.