added permissions in analysis views
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user