Weird permissions coach/coachee when leaving a group

Issue #612 resolved
Sander Roosendaal repo owner created an issue

Reproduction path:

  1. coach member “A” starts a group
  2. “A” invites coach member “B” to the group
  3. “A” requests “B” to become their coach
  4. “B” leaves A’s group
  5. B can still see A’s workouts on the workout list
  6. B cannot enter /rowers/sessions/ - permission denied error

Expected behavior

6. B van enter /rowers/sessions/ and see A’s plan

Seems Group membership and coach/coachee relations are intertwined where they shouldn’t

Comments (2)

  1. Sander Roosendaal reporter

    B can see A’s sessions when switching back to their own user. Then also the athletes list in the left menu reappears, but A is not in that list.

  2. Log in to comment