bug fixes and permission fix
This commit is contained in:
@@ -270,6 +270,9 @@ def is_rower_team_member(user,rower):
|
||||
if user.rower == rower:
|
||||
return True
|
||||
|
||||
if is_coach_user(user,rower.user):
|
||||
return True
|
||||
|
||||
teams = rower.team.all()
|
||||
|
||||
for team in teams:
|
||||
|
||||
Reference in New Issue
Block a user