-
Notifications
You must be signed in to change notification settings - Fork 210
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
Create more sofisticated user rights #310
Comments
Why not defining roles this way?
And then associate the role to the user as you did already:
Or did I misunderstand you? |
The first one is what kinda we have now. What I can image is to have a (hardcoded) role template, but the app user could override them per user level. So instead of specifying for a give feature what kind of role you need: pigallery2/src/common/config/public/ClientConfig.ts Lines 163 to 166 in 77b2d7e
We can specify for a user what kind of rights it has. It would be more similar to what linux does with groups. The main reason behind it is that on my personal app I never want to see any delete, rotate etc. button, but people keep asking: #76, #305 This feature would eventually allow it. |
I would love the ability to only give users album access and the whole gallery be restricted. For instance; my family can see pictures I mark in an album. Can´t see others. |
Currently there are 4+1 types of users with fixed right settings in the app (see: https://github.com/bpatrik/pigallery2/blob/master/USERRIGHTS.md)
Furthermore all users can see the whole gallery and it cannot be split up.
This FR proposes to replace the rigid user roles into separate rights, like:
from:
This FR would not resolve #81, #188, #129, #301 but would take a step into that direction and would enable future gallery changing features #76, #305
The text was updated successfully, but these errors were encountered: