athlete edit permissions in place
This commit is contained in:
@@ -404,6 +404,12 @@ def isprorower(r):
|
||||
result = r.rowerplan == 'basic' and r.protrialexpires >= datetime.date.today()
|
||||
|
||||
return result
|
||||
|
||||
def iscoach(m,r):
|
||||
result = False
|
||||
result = m in r.coaches
|
||||
|
||||
return result
|
||||
|
||||
# Exponentially weighted moving average
|
||||
# Used for data smoothing of the jagged data obtained by Strava
|
||||
|
||||
Reference in New Issue
Block a user