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 capabilities to user accounts #91

Open
JohnRDOrazio opened this issue Sep 10, 2021 · 1 comment
Open

Add capabilities to user accounts #91

JohnRDOrazio opened this issue Sep 10, 2021 · 1 comment
Labels
enhancement New feature or request feature

Comments

@JohnRDOrazio
Copy link
Collaborator

Taking into consideration that there will necessarily be a few users that give assistance for the final website / service, those users should have "admin" accounts such that they can view the list of "user resources" (basically the list of users that have signed up to the website).
This means adding "capability" information to user accounts (I avoid using the term "role" here, because we've already used the term "role" in reference to the role of a user within a project, as "bride", "groom", "celebrant" or "guest" in the project). Users that sign up to the website will automatically receive a "subscriber" capability, whereas the few of us that manage the service will have a "manager" capability. Only users with a "manager" capability should be able to access the "Users" resource (http://localhost:3000/en/users) with a list of users currently signed up to the website.

@JohnRDOrazio JohnRDOrazio added enhancement New feature or request feature labels Sep 10, 2021
@JohnRDOrazio
Copy link
Collaborator Author

I believe this gem should assist in this: https://github.com/CanCanCommunity/cancancan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature
Projects
None yet
Development

No branches or pull requests

1 participant