more or less done
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user