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

Popular posts from this blog

php - Hide output during test execution -

javascript - Migrate custom AngularJS filter from 1.2.28 to 1.4.x -

Update Magento products with multiple images -