Sha256: 53cba9d41e3655b606da063b8d8a9a5b5ba968c9adcf77674666b130acb5bbe2
Contents?: true
Size: 628 Bytes
Versions: 9
Compression:
Stored size: 628 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
9 entries across 9 versions & 1 rubygems