0

In a stock "rails-devise-pundit" application generated using "railsapps", does it include support for adding multiple roles for users?

A can I make John Doe have a :user role plus an :admin role

american-ninja-warrior
  • 7,397
  • 11
  • 46
  • 80

1 Answers1

0

In the default "rails-devise-pundit" application, each user has only one role. However, you can create your own custom Pundit policies to accommodate multiple roles. See the Pundit documentation.

Daniel Kehoe
  • 10,952
  • 6
  • 63
  • 82