Basic access authentication - railsadminteam/rails_admin GitHub Wiki

You can build your custom authorization logic, such as:

RailsAdmin.config do |config|
  config.authenticate_with do
    authenticate_or_request_with_http_basic('Site Message') do |username, password|
      username == 'foo' && password == 'bar'
    end
  end
end