Module: Alchemy::Permissions::AdminUser
Overview
Admin rules
Includes editor rules
Instance Method Summary collapse
Methods included from EditorUser
Methods included from AuthorUser
Methods included from MemberUser
Methods included from GuestUser
Instance Method Details
#alchemy_admin_rules ⇒ Object
175 176 177 178 179 180 181 182 183 184 185 186 187 |
# File 'lib/alchemy/permissions.rb', line 175 def alchemy_admin_rules alchemy_editor_rules # Navigation can :index, [:alchemy_admin_sites, :alchemy_admin_styleguide] # Controller actions can [:info, :update_check], :alchemy_admin_dashboard # Resources can :manage, Alchemy::Language can :manage, Alchemy::Site end |