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

python - jinja2: TemplateSyntaxError: expected token ',', got 'string' -

Qt4: how to send QString inside a struct via QSharedMemory -

node.js - NodeJS remote terminal to Dropbear OpenWRT-Server -