Skip to content

Expand Django and DRF permission detection#126

Open
bjcorder wants to merge 1 commit into
mainfrom
issue-107-django-permission-gaps
Open

Expand Django and DRF permission detection#126
bjcorder wants to merge 1 commit into
mainfrom
issue-107-django-permission-gaps

Conversation

@bjcorder

Copy link
Copy Markdown
Owner

Summary

  • Read static DRF settings permission and authentication defaults and apply them only when view-level declarations are absent.
  • Preserve per-action permission and authentication overrides in route metadata, overriding class-level declarations for that action.
  • Recognize class-level method_decorator guards and retain local recursive mixin-chain evidence.
  • Normalize parenthesized multiline Python imports for Django handler resolution.
  • Add django_dynamic_settings_default as an advisory diagnostic for dynamic settings defaults.

Verification

  • cargo check --workspace --all-targets --locked
  • cargo test --workspace --all-targets --locked

Closes #107

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Django/DRF: close deferred permission-detection gaps (settings defaults, @action overrides, @method_decorator, multi-line imports)

1 participant