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