-
Notifications
You must be signed in to change notification settings - Fork 101
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
Custom user roles and permissions #192
Comments
this is being worked on right now #194 please comment on the pr and explain if that specification fits your use cases |
Thanks, fair requirements! I'll work on my PR to add signup role and custom fields features.
How do we use them? |
@playrich any entity has |
i was thinking as follows: create a role > assign permissions > chose if this role can be used when registering the site, basically ïsEnabledForRegistering field or something like this. |
besides permissions we would be able to select or create new fields for this role like instead of name a custom role will have company name, now when creating a custom role the entire flow will be as follows: create. anew role > assign permissions > create or select existing fields (username, name, password etc) > chose if this role can be used when registering the site, basically ïsEnabledForRegistering > chose what fields will be displayed when registering on the frontend signup form, if registration is enabled for this role |
this is theme related and theme authors can implement this feature the cms itself will be able to handle this case signup forms on the theme are something that the base system should not care about |
@playrich right, theme authors can configure these forms. Another part of the question is what roles backend should accept for signup. Right now there's one signup role So we need to have isEnabledForRegistering in roles table, or maybe have a list of these roles in CMS settings? |
I would like to see an option to create some customer roles with granulated permissions.
Example of what i would like to see, basically an admin will be able to:
Example of roles:
The text was updated successfully, but these errors were encountered: