-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Enhancement: Add extendable permissions system #344
Comments
I would love to see this happen if you are willing to do it. Would be a great feature! If you are up for it i'd like to add a 2.6.0 label to it and try to get it in to first release after the current cleanup and merge release i'm putting together |
Ok. Current PR (#413) was more like the temporary solution. |
As discussed in #413 we will try to revisit this in a more robust way, implementing some kind of permission system that allows easy extension. We should see what existing libraries exist already that we could use to implement this, and decide on the final scope of the changes |
Looking at the code while i've been going through the linter errors it seems like we could move the logic for this out to middleware, and implement or integrate something at that point to keep things fairly decoupled. We should move existing bits of permissions checking out of the api route functions as well. |
Hi, If this is still a subject, I have a strong need in my company. May I try to implement it with simple permission system bellow?
Design proposalDatabaseI propose a new
One row = the ability to create/update the given resource on a given project for the given user. Backend middlewareWe then might handle credentials in every middleware in Backward compatibilityFor users not needing this feature, we could just add a
Feel free to propose enhancement and to tell me if I should start dev. |
For security reasons, we need user, who doesn't allowed for edit the tasks. It should be only able to launch tasks.
So, project should have 3 levels of permissions:
The text was updated successfully, but these errors were encountered: