Private
Public Access
1
0

added permissions in analysis views

This commit is contained in:
Sander Roosendaal
2020-01-16 20:09:32 +01:00
parent 28710dbdd6
commit 4aa3649a7c
6 changed files with 48 additions and 8 deletions

View File

@@ -212,6 +212,7 @@ def is_coach_user(usercoach,userrower):
coaches.append(coach)
for coach in coaches:
print(usercoach.rower,coach)
if usercoach.rower == coach:
return True