RailsApps / rails-devise-pundit

Rails 5.0 starter app with Devise for authentication and Pundit for authorization.
http://railsapps.github.io/rails-devise-pundit/
483 stars 156 forks source link

How to handle if user have multiple roles? #27

Closed varmad closed 8 years ago

varmad commented 8 years ago

Hello, In my application user can have multiple roles, I want to provide an option to change his role, based on his current role I want to enable/disable features for that user. So how I can do this?

Please suggest me on this.

Thanks

DanielKehoe commented 8 years ago

This is a place for reporting issues, that is, errors or things that do not work. For advice about your custom requirements, please try Stack Overflow http://stackoverflow.com/questions/tagged/ruby-on-rails or Reddit http://www.reddit.com/r/rails