Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed: Allow superusers all access #1531

Merged
merged 1 commit into from
Jun 14, 2024
Merged

Conversation

ahankinson
Copy link
Member

This PR fixes the permissions checks to allow superusers to access all the forms by default.

It also does a couple maintenancey things:

  • Remove redundant parens from clauses
  • Adds a 'noqa' marker so IDEs don't flag the reverse relationships as a method not found
  • Removes a transitory variable assignment when the direct usage doesn't actually amount in more code or multiple uses

Fixes #1527

This PR fixes the permissions checks to allow superusers to access all the forms by default.

It also does a couple maintenancey things:
 - Remove redundant parens from clauses
 - Adds a 'noqa' marker so IDEs don't flag the reverse relationships as a method not found
 - Removes a transitory variable assignment when the direct usage doesn't actually amount in more code or multiple uses

Fixes #1527
@dchiller dchiller merged commit e50b82f into develop Jun 14, 2024
1 check passed
@dchiller dchiller deleted the fixed-1527-permissions branch June 14, 2024 14:44
@dchiller dchiller mentioned this pull request Jul 12, 2024
27 tasks
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.

Allow superusers access to all edit forms
2 participants