Ask A Question


You’re not receiving notifications from this thread.

Adding a Admin Interface to devise

Sascha M. asked in Gems / Libraries

Hi there,

first of all: I'm pretty new to Rails, so please don't blame me if I ask a stupid question :)

I use devise + cancancan for authentication and authorization. The user model is already generated by devise (inluding the views). Now I want to disable public registrations. Only admins (cancancan role is admin) should be able to create and edit users (e.g. list of users with edit button). How would your approach look like? I'm totally lost with that :(

Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 83,038+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.