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

Permissions overhaul - Define permissions in the database #1052

Merged
merged 3 commits into from
Sep 18, 2024
Merged

Conversation

wrongecho
Copy link
Collaborator

@wrongecho wrongecho commented Sep 14, 2024

2nd attempt at this one!
Similar to #1008 but separately defining the roles, modules and associated permissions in the database. Also has admin being a defined role automatically having full access.

Parent issue: #530

--

Working OK on PR Review:
image

2nd attempt at this one!
Similar to #1008 but separately defining the roles, modules and associated permissions in the database.
Also has admin being a defined role automatically having full access.

Parent issue: #530
@wrongecho
Copy link
Collaborator Author

Test these changes at: https://perms21052.pr-review.itflow.org
(automatic message)

@wrongecho wrongecho marked this pull request as draft September 14, 2024 17:34
wrongecho added 2 commits September 14, 2024 18:55
2nd attempt at this one!
Similar to #1008 but separately defining the roles, modules and associated permissions in the database.
Also has admin being a defined role automatically having full access.

Parent issue: #530
2nd attempt at this one!
Similar to #1008 but separately defining the roles, modules and associated permissions in the database.
Also has admin being a defined role automatically having full access.

Parent issue: #530
@wrongecho wrongecho marked this pull request as ready for review September 14, 2024 18:15
Copy link

sonarcloud bot commented Sep 14, 2024

@johnnyq
Copy link
Collaborator

johnnyq commented Sep 16, 2024

This looks awesome the only thing I would change is the user_role_is_admin from int(11) to tinyint(1).

@johnnyq
Copy link
Collaborator

johnnyq commented Sep 18, 2024

I'm going to reel this one in, i'll update the DB field to tinyint later on when I push more updates out today.

@johnnyq johnnyq merged commit 62a2ed7 into master Sep 18, 2024
3 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.

2 participants