Adding new member report

This commit is contained in:
2013-10-05 19:53:31 -07:00
parent d61289abaf
commit 04bab84293
6 changed files with 39 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ class Ability
can :read_details, Mac
can [:update], Mac, :user_id => nil
can [:create,:update], Mac, :user_id => user.id
can :read, User, :id => user.id #TODO: why can users update themselves?
can [:read,:new_member_report], User, :id => user.id #TODO: why can users update themselves? Maybe because Devise doesn't check users/edit?
can :read, UserCertification, :user_id => user.id
# Instructors can manage certs and see users