Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: rel_0_1
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (18 sloc) 0.583 kB
authorization do
role :guest do
# add permissions for guests here, e.g.
#has_permission_on :conferences, :to => :read
end
# permissions on other roles, such as
#role :admin do
# has_permission_on :conferences, :to => :manage
#end
end
privileges do
# default privilege hierarchies to facilitate RESTful Rails apps
privilege :manage, :includes => [:create, :read, :update, :delete]
privilege :read, :includes => [:index, :show]
privilege :create, :includes => :new
privilege :update, :includes => :edit
privilege :delete, :includes => :destroy
end
Jump to Line
Something went wrong with that request. Please try again.