Skip to content
Benoit Bénézech edited this page Jan 2, 2014 · 9 revisions

You can build your custom authorization logic, such as:

RailsAdmin.config do |config|
  config.authorize_with do
    authenticate_or_request_with_http_basic('Site Message') do |username, password|
      username == 'foo' && password == 'bar'
    end
  end
end
Clone this wiki locally