Class: Spree::PermissionSets::DashboardDisplay

Inherits:
Base
  • Object
show all
Defined in:
lib/spree/permission_sets/dashboard_display.rb

Overview

Permissions for viewing the admin dashboard.

Roles with this permission set will be able to view the admin dashboard, which may or not contain sensitive information depending on customizations.

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Spree::PermissionSets::Base

Instance Method Details

#activate!Object



11
12
13
# File 'lib/spree/permission_sets/dashboard_display.rb', line 11

def activate!
    can [:admin, :home], :dashboards
end