Skip to main content
Ask A Question
You’re not receiving notifications from this thread.

User create Dynamic Role base

General • Asked by Francisco Quinones

Hi! So my app uses CanCanCan and Devise for working with users. Now the app needs to have a feature where users can create role. How can I approach this new task.

Admin(User) can create Roles with a permission list (can and can't with on/off boolean) without redeploying the app.

Check out Rolify. It can handle pretty much anything you want to do with roles and permissions.

Francisco, Did you ever find a solution to this? I know its older but I'm having a heck of a time finding resources on dynamic roles.. 

I recently did this using Rolify. _Fairly_ straightforward. 

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 31,152+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.