pinax-teams
pinax-teams copied to clipboard
Fix access checking in views
-
team_manage
should implement a check similar toteam_update
- the following views compare
manager_access
to aTeam.MEMBER_ACCESS
constant, rather than checking themember_access
attr:-
team_apply
-
team_accept
-
team_leave
-
(also, the check in team_update
differs from a similar check within decorators.manager_required
and they could possibly be consolidated)