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
166 167 168 169 170 171 172 173 174 175 176 177 178 179 |
# File 'lib/alchemy/permissions.rb', line 166 def alchemy_admin_rules alchemy_editor_rules # Navigation can :index, [:alchemy_admin_sites] # Controller actions can [:info, :update_check], :alchemy_admin_dashboard # Resources can :manage, Alchemy.user_class can :manage, Alchemy::Language can :manage, Alchemy::Site end |