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

Add roles/permissions feature to allow for custom access based on roles/groups. #3334

Closed
PylotLight opened this issue May 9, 2024 · 1 comment
Labels
enhancement New feature or request Stale

Comments

@PylotLight
Copy link

PylotLight commented May 9, 2024

Describe the solution you'd like

Users should be assigned roles/groups which allows certain access. This would cover multiple other issues mentioned here so this issue would be the overarching project/issue to add in the capability for granular permissions for users.

Type of feature

User Interface (UI) + API

Additional context

Example roles:
Admin:
User
Guest/Anonymous
Custom

Permissions:
Notes - Create, Read, Update, Delete
Users - Create, Read, Update, Delete
Comments - Create, Read, Update, Delete
Sharing - Create shared links
Export/Import - Allow/Deny
etc... for all other permissions.

Potentially relevant libraries/docs:
https://pkg.go.dev/os/user
https://github.com/Permify/go-role/
https://github.com/casbin/casbin
https://github.com/mikespook/gorbac
https://mikebolshakov.medium.com/custom-role-based-authorization-in-golang-ba6d5585a521
https://github.com/qor/roles

@PylotLight PylotLight added the enhancement New feature or request label May 9, 2024
@PylotLight
Copy link
Author

Other issues that might be addressed by this issue:
#3217
#3260

@github-actions github-actions bot added the Stale label May 24, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Stale
Projects
None yet
Development

No branches or pull requests

1 participant