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

How do Create user's roles. #963

Closed
fastboyz opened this issue Sep 27, 2017 · 1 comment
Closed

How do Create user's roles. #963

fastboyz opened this issue Sep 27, 2017 · 1 comment

Comments

@fastboyz
Copy link

I have multiple type of users, A director, an assistant-director and more, My Idea was just to add a role type to the db with a migration, but I am really new with Rails and the gem, any tip?

@zachfeldman
Copy link
Contributor

Hi @fastboyz , yeah, you could just add another column to your users table called, "role". Or you could use something like cancancan (google it). Feel free to reopen with more questions and I can try to answer them, but this issue tracker is really for problems with the gem and not as much for guidance. You may want to try Stack Overflow for that.

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

No branches or pull requests

2 participants