Sha256: b05644eaee45886441f346ad624f2e1892b87e9778aab7a25357657bfaff2eda
Contents?: true
Size: 433 Bytes
Versions: 19
Compression:
Stored size: 433 Bytes
Contents
# frozen_string_literal: true module Spree module PermissionSets # 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. class DashboardDisplay < PermissionSets::Base def activate! can [:admin, :home], :dashboards end end end end
Version data entries
19 entries across 19 versions & 1 rubygems