Allowing nil waiver/orientation dates, adjusting permissions of users

This commit is contained in:
2013-01-25 01:49:32 -07:00
parent d44ae6a69f
commit fe283b051f
3 changed files with 8 additions and 6 deletions

View File

@@ -6,7 +6,7 @@ class Ability
if user.admin?
can :manage, :all
else
can :read, User, :id => user.id
can :read, User
can :read, Card, :user_id => user.id
end
end