Skip to content

Commit

Permalink
new user should be able to bypass captcha
Browse files Browse the repository at this point in the history
  • Loading branch information
arashm committed Aug 17, 2013
1 parent db00d2b commit 992dd4f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/models/ability.rb
Expand Up @@ -90,6 +90,9 @@ def new_user_permissions(user)
# User model
can [:update, :add_to_favorites, :activity_logs], user

# User model
can :bypass_captcha, user

# Vote model
can :create, Vote
end
Expand Down

0 comments on commit 992dd4f

Please sign in to comment.