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

Remove permissions architecture in favour of roles #1185

Merged
merged 4 commits into from
Jan 18, 2025
Merged

Conversation

epugh
Copy link
Member

@epugh epugh commented Jan 18, 2025

Description

This strips out the rich permissions structure that we've had for years in favour of using the "are you an Administrator or not" approach.

Motivation and Context

We thought having really fine grained permissions would be important to Quepid, but what we've seen is that it doesn't matter. Indeed, if anything, the permissions structure is confusing to users. Additionally, we've mostly cared "are you an Admin?" to decide if certain things can be done or not.

With Quepid8 coming out soon, this is a nice time to refactor and strip out this code.

In the future, we may do more with roles. For example, a judge might see certain things, or not see other things.

How Has This Been Tested?

ran the tests and manually.

@epugh epugh requested a review from wrigleyDan January 18, 2025 04:00
@epugh epugh temporarily deployed to quepid-pr-1185 January 18, 2025 04:00 Inactive
@epugh
Copy link
Member Author

epugh commented Jan 18, 2025

We need to do some manual testing, make sure everything still works as expected.. I hit the high points...

@epugh epugh merged commit d165821 into main Jan 18, 2025
4 of 5 checks passed
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.

1 participant