Authentication - railsadminteam/rails_admin GitHub Wiki
You can (each is optional) provide 2 things:
- An
authenticate_with
block that will trigger your authentication logic before any action in RailsAdmin. - A
current_user_method
block that will yield a user model (for UI purposes)
If your application responds to a route helper named logout_path
then Rails Admin will add a "Log out" button to the top-right corner of your app. [Needs expansion: There's also a Devise integration but I don't know how Devise works. See #1386 for details.]
Popular authentication gems examples: