Skip to content

Commit

Permalink
Guess I needed that guest role
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason L Perry committed Nov 22, 2009
1 parent 9b4b202 commit 4f5992a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/authorization_rules.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
has_permission_on :users, :to => :manage
has_permission_on :roles, :to => :manage
end

role :guest, :title => "Guest" do
description "The default role for anonymous user"
# Don't remove this or you can't signup
has_permission_on :users, :to => :create
end
end

privileges do
Expand Down

0 comments on commit 4f5992a

Please sign in to comment.