Sha256: c6132956515c19b541efc73009d163980f22357ddfb7f178f7fde374754fc271

Contents?: true

Size: 526 Bytes

Versions: 3

Compression:

Stored size: 526 Bytes

Contents

puts "Permission Concern from ThecoreUiRailsAdmin"
require 'active_support/concern'

module ThecoreUiRailsAdminPermissionConcern
    extend ActiveSupport::Concern
    
    included do
        
        rails_admin do
            navigation_label I18n.t("admin.settings.label")
            navigation_icon 'fas fa-users'
            desc I18n.t("activerecord.descriptions.role")
            
            visible false

            exclude_fields :id, :lock_version, :updated_at, :permission_roles, :roles
        end
    end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
thecore_ui_rails_admin-3.2.9 config/initializers/concern_permission.rb
thecore_ui_rails_admin-3.2.8 config/initializers/concern_permission.rb
thecore_ui_rails_admin-3.2.7 config/initializers/concern_permission.rb