Repository navigation
Conversation
Adds django-permission-tracer to the Permissions section of the third-party packages page. It resolves DRF permissions the way the framework does at request time, per HTTP method and viewset action, including `@action(permission_classes=...)`, `get_permissions()` overrides and composed permissions (`&`, `|`, `~`). It provides a dashboard, a Markdown/CSV permission matrix, request tracing of which permission denied a request, and a management command that fails CI when an endpoint is reachable anonymously. - PyPI: https://pypi.org/project/django-permission-tracer/ - Tested on Python 3.9 to 3.13, Django 4.2 to 6.1, DRF 3.14 to 3.18 - MIT licensed I'm the author of the package.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds django-permission-tracer to the Permissions section of the third-party packages page.
It resolves DRF permissions the way the framework does at request time, per HTTP method and viewset action, including
@action(permission_classes=...),get_permissions()overrides and composed permissions (&,|,~). It provides a dashboard, a Markdown/CSV permission matrix, request tracing of which permission denied a request, and a management command that fails CI when an endpoint is reachable anonymously.I'm the author of the package.
Note: Before submitting a code change, please review our contributing guidelines.
Description
Please describe your pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue. When linking to an issue, please use
refs #...in the description of the pull request.