-
Notifications
You must be signed in to change notification settings - Fork 35
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
Remove duplication in pundit policies #2665
Closed
Closed
Commits on Jan 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0cb81e0 - Browse repository at this point
Copy the full SHA 0cb81e0View commit details -
This was only being used to order them but we now hardcode the order.
Configuration menu - View commit details
-
Copy full SHA for 5951247 - Browse repository at this point
Copy the full SHA 5951247View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0ec514 - Browse repository at this point
Copy the full SHA f0ec514View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10fd8cd - Browse repository at this point
Copy the full SHA 10fd8cdView commit details -
We don't make use of User.role_classes so let's remove it.
Configuration menu - View commit details
-
Copy full SHA for b8c557b - Browse repository at this point
Copy the full SHA b8c557bView commit details -
We don't make use of User.roles so let's remove it.
Configuration menu - View commit details
-
Copy full SHA for 12367ba - Browse repository at this point
Copy the full SHA 12367baView commit details -
Move User#role validation to User class
As this is the only place it's used.
Configuration menu - View commit details
-
Copy full SHA for 82e4f54 - Browse repository at this point
Copy the full SHA 82e4f54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15058cd - Browse repository at this point
Copy the full SHA 15058cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for d6eb388 - Browse repository at this point
Copy the full SHA d6eb388View commit details -
Configuration menu - View commit details
-
Copy full SHA for 981dc13 - Browse repository at this point
Copy the full SHA 981dc13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 894f955 - Browse repository at this point
Copy the full SHA 894f955View commit details -
Configuration menu - View commit details
-
Copy full SHA for 200d0c8 - Browse repository at this point
Copy the full SHA 200d0c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d344a8 - Browse repository at this point
Copy the full SHA 0d344a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8c63de - Browse repository at this point
Copy the full SHA d8c63deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cd32d9 - Browse repository at this point
Copy the full SHA 2cd32d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8800e3f - Browse repository at this point
Copy the full SHA 8800e3fView commit details -
These should not be necessary now that we reference the classes directly from the Roles module.
Configuration menu - View commit details
-
Copy full SHA for 33c50fb - Browse repository at this point
Copy the full SHA 33c50fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85ca5d2 - Browse repository at this point
Copy the full SHA 85ca5d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cd82da - Browse repository at this point
Copy the full SHA 3cd82daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7580e96 - Browse repository at this point
Copy the full SHA 7580e96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 592d8e5 - Browse repository at this point
Copy the full SHA 592d8e5View commit details -
Use Roles::<class>.require_2sv?
Have to fallback to `false` in `invitee_requires_2sv` to prevent a database constraint violation attempting to insert `null` into `require_2sv`.
Configuration menu - View commit details
-
Copy full SHA for 60b42f3 - Browse repository at this point
Copy the full SHA 60b42f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8288ff9 - Browse repository at this point
Copy the full SHA 8288ff9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bc2381 - Browse repository at this point
Copy the full SHA 2bc2381View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d6a544 - Browse repository at this point
Copy the full SHA 8d6a544View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9035b4 - Browse repository at this point
Copy the full SHA f9035b4View commit details
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.