ruby - How do I permit only one particular user to login to active admin? -
i have application have lot of users , among them 1 super user. want use super user account use active admin , other users use custom admin dashboard.
you can have boolean "admin" attribute on users , check attribute using custom authorizationadapter.
check part of documentation further information: http://activeadmin.info/docs/13-authorization-adapter.html
Comments
Post a Comment