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

[Discussion] Introducing a powerful role management system #28

Open
kasvith opened this issue Jul 6, 2019 · 3 comments
Open

[Discussion] Introducing a powerful role management system #28

kasvith opened this issue Jul 6, 2019 · 3 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@kasvith
Copy link
Owner

kasvith commented Jul 6, 2019

Currently we don't have a role management system. We have admin and user. But that's not it.

While developing applications its often to have multiple roles and allow access based on roles. Roles does inherit properties like an admin can do what an editor can do for sure but not otherway around.

It would be better if we could introduce a nice role management system where users can add roles and manage roles

@kasvith kasvith added help wanted Extra attention is needed question Further information is requested labels Jul 6, 2019
@d0peCode
Copy link
Contributor

d0peCode commented Jul 6, 2019

I think it's not a good idea to have everyone - editors, admins, users etc in one collection. They may have totally different fields in schema.

@d0peCode
Copy link
Contributor

d0peCode commented Jul 6, 2019

Maybe we should have collection of roles

@kasvith
Copy link
Owner Author

kasvith commented Jul 6, 2019

Yeah. That's true. They have different attributes. But we can keep the role in the same user collection and we can create a separate collection to hold role attributes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants