Private
Public Access
1
0

more or less done

This commit is contained in:
2024-12-05 21:05:42 +01:00
parent 13effe6cce
commit 4d8aad12af
8 changed files with 154 additions and 12 deletions

View File

@@ -463,6 +463,9 @@ def is_workout_user(user, workout):
# check if user is in same team as owner of workout
@rules.predicate
def workout_is_strava(workout):
return workout.workoutsource == 'strava'
@rules.predicate
def is_workout_team(user, workout):