Private
Public Access
1
0

bug fixes and permission fix

This commit is contained in:
Sander Roosendaal
2021-03-17 17:26:00 +01:00
parent dda94818f9
commit bb58dec8ee

View File

@@ -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: