Sha256: 206527b6ffa1eca73a255879d0a45ce12f9e872871804af29df7264ff8b29270

Contents?: true

Size: 445 Bytes

Versions: 13

Compression:

Stored size: 445 Bytes

Contents

class AccountAccess < Lipsiadmin::AccessControl::Base 

  roles_for :administrator do |role|
    # Shared Permission
    role.allow_all_actions "/backend/base"
    
    role.project_module :Account do |project|
      project.menu :list,   "/backend/accounts.js" do |submenu|
        submenu.add :new, "/backend/accounts/new"
      end
    end
    
    # Please don't remove this comment! It's used for auto adding project modules
  end
  
  
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
lipsiadmin-3.0 lipsiadmin_generators/backend/templates/models/account_access.rb
lipsiadmin-3.2 lipsiadmin_generators/backend/templates/models/account_access.rb
lipsiadmin-3.3.1 lipsiadmin_generators/backend/templates/models/account_access.rb
lipsiadmin-2.9 lipsiadmin_generators/backend/templates/models/account_access.rb
lipsiadmin-3.1 lipsiadmin_generators/backend/templates/models/account_access.rb
lipsiadmin-3.3.2 lipsiadmin_generators/backend/templates/models/account_access.rb
lipsiadmin-3.3.3 lipsiadmin_generators/backend/templates/models/account_access.rb
lipsiadmin-3.3 lipsiadmin_generators/backend/templates/models/account_access.rb
lipsiadmin-3.3.4 lipsiadmin_generators/backend/templates/models/account_access.rb
lipsiadmin-3.4.0 lipsiadmin_generators/backend/templates/models/account_access.rb
lipsiadmin-3.4.1 lipsiadmin_generators/backend/templates/models/account_access.rb
lipsiadmin-3.4.2 lipsiadmin_generators/backend/templates/models/account_access.rb
lipsiadmin-4.0.0 lipsiadmin_generators/backend/templates/models/account_access.rb