Sha256: f228fe4f3e2c116bec524cb75de68986e3401b0aad15cf632c7306c6347ac387
Contents?: true
Size: 506 Bytes
Versions: 8
Compression:
Stored size: 506 Bytes
Contents
RailsAdmin.config do |config| config.authenticate_with do redirect_to main_app.root_path unless current_user.role == Role::ADMIN_ROLE end config.included_models = ['User'] config.model 'User' do exclude_fields :remember_created_at if Authentication.type.saml? exclude_fields :password exclude_fields :password_confirmation end end config.actions do dashboard index new export bulk_delete show edit delete show_in_app end end
Version data entries
8 entries across 8 versions & 1 rubygems