Sha256: ec66989c76519b7a2d961b891af5eb85b43c305b4bef924df8b71cbd0dfa31d6
Contents?: true
Size: 653 Bytes
Versions: 3
Compression:
Stored size: 653 Bytes
Contents
### Privileges.rb # # Defines the privilegesets and privileges for the CBAC system # include Cbac puts "Loading privilegesets" cbac do set :public, "Stuff that is always accessible" do # Insert public conroller/methods here end set :cbac_administration, "Allows administration of CBAC modules" do in_module :cbac do get "permissions", :index post "permissions", :create get "memberships", :index post "memberships", :create get "generic_roles", :index post "generic_roles", :update, :create, :delete get "upgrade", :index post "upgrade", :update end end end
Version data entries
3 entries across 3 versions & 1 rubygems