config/authorization_rules.rb in alchemy_cms-2.6.3 vs config/authorization_rules.rb in alchemy_cms-2.7.0

- old
+ new

@@ -23,11 +23,10 @@ has_permission_on :alchemy_pages, :to => [:see] do if_attribute :visible => true, :restricted => true end has_permission_on :alchemy_pages, :to => [:show] do if_attribute :public => true, :restricted => true - if_attribute :public => true, :restricted => false end has_permission_on :alchemy_elements, :to => [:show] do if_attribute :public => true end has_permission_on :alchemy_admin_users, :to => [:edit, :update] do @@ -39,11 +38,11 @@ role :author do includes :registered has_permission_on :alchemy_admin_dashboard, :to => [:index] has_permission_on :alchemy_pictures, :to => [:thumbnail] - has_permission_on :alchemy_admin_pages, :to => [:index, :fold, :edit_page_content, :link] + has_permission_on :alchemy_admin_pages, :to => [:index, :info, :fold, :edit_page_content, :link] has_permission_on :alchemy_admin_elements, :to => [:manage_elements] has_permission_on :alchemy_admin_pictures, :to => [:read, :archive_overlay, :info] has_permission_on :alchemy_admin_attachments, :to => [:index, :archive_overlay, :show, :download] has_permission_on :alchemy_admin_contents, :to => [:manage_contents] has_permission_on :alchemy_admin_essence_pictures, :to => [:manage_picture_essences] @@ -95,10 +94,10 @@ privilege :manage_contents, :alchemy_admin_contents do includes :manage, :order end privilege :manage_picture_essences, :alchemy_admin_essence_pictures do - includes :manage, :save_link, :assign, :crop + includes :manage, :assign, :crop end privilege :manage_file_essences, :alchemy_admin_essence_files do includes :manage, :assign end