empty file with requirements
This commit is contained in:
87
rowers/tests/test_permissions.py
Normal file
87
rowers/tests/test_permissions.py
Normal file
@@ -0,0 +1,87 @@
|
||||
from statements import *
|
||||
|
||||
# set up
|
||||
|
||||
## Users - Pro, Basic, Coach & Self Coach
|
||||
|
||||
## Couple of workouts
|
||||
|
||||
## TeamPro, TeamCoach, TeamSelfCoach
|
||||
|
||||
# Requirements
|
||||
|
||||
## Low level
|
||||
|
||||
## Coach can have any number of groups
|
||||
|
||||
## Basic athletes can be member of Coach led group
|
||||
|
||||
## Coach can create planned sessions and team planned sessions
|
||||
|
||||
## Self coach can create one group
|
||||
|
||||
## Self coach cannot create more than one group
|
||||
|
||||
## Pro users (and higher) can join group led by other Pro (or higher) user
|
||||
|
||||
## Self Coach can create planned sessions and team planned sessions
|
||||
|
||||
## Pro can have one group
|
||||
|
||||
## Pro cannot create more than one group
|
||||
|
||||
## Pro cannot create planned sessions or team planned sessions
|
||||
|
||||
## Basic cannot join groups led by Pro or Self Coach
|
||||
|
||||
## Basic can join group led by Coach
|
||||
|
||||
# View based
|
||||
|
||||
## Coach can have any number of groups
|
||||
|
||||
## Basic athletes can be member of Coach led group
|
||||
|
||||
## Coach can create planned sessions and team planned sessions
|
||||
|
||||
## Coach can edit on behalf of athlete
|
||||
|
||||
## Coach can run analytics for athlete
|
||||
|
||||
## Coach can upload on behalf of athlete
|
||||
|
||||
## Coach can edit athlete's workout
|
||||
|
||||
## Self coach can create one group
|
||||
|
||||
## Self coach cannot create more than one group
|
||||
|
||||
## Pro users (and higher) can join group led by other Pro (or higher) user
|
||||
|
||||
## Self Coach can create planned sessions and team planned sessions
|
||||
|
||||
## Self Coach cannot edit on behalf of athlete
|
||||
|
||||
## Self Coach cannot run analytics on behalf of athlete
|
||||
|
||||
## Self Coach cannot upload on behalf of athlete
|
||||
|
||||
## Pro can have one group
|
||||
|
||||
## Pro cannot create more than one group
|
||||
|
||||
## Pro cannot create planned sessions or team planned sessions
|
||||
|
||||
## Pro can create planned sessions and team planned sessions
|
||||
|
||||
## Pro cannot edit on behalf of athlete
|
||||
|
||||
## Pro cannot run analytics on behalf of athlete
|
||||
|
||||
## Basic cannot join groups from Pro or Self Coach users (redirects to paid plans)
|
||||
|
||||
## Pro users can see team members' workout, but not edit
|
||||
|
||||
## Self Coach users can see team members' workout, but not edit
|
||||
|
||||
## Basic users can see team members' workout, but not edit
|
||||
Reference in New Issue
Block a user