Skip to main content

User roles

There are 2 types of user roles:

  • Athletes
  • Managers

Unauthenticated users can only create new manager or athlete accounts.

Athletes

The Athlete user role is used for athletes' accounts. Their profile contains basic data, such as first name, last name and physiological data, such as weight, height, maximum heart rate, etc. Athletes accounts can be created by any type of User.

Once logged in, an athlete can:

  • Retrieve/update/delete their account and profile
  • Give or revoke READ, WRITE or SHARE permissions to a manager

Managers

Manager user type is used for managers' accounts. Their profile contains basic data such as first name and last name. Managers accounts can be created by any type of User.

Once logged in, a manager can:

  • Request ownership of devices
  • Create/update/retrieve activities according to a schema
  • Create/update/retrieve time frames if he has/had WRITE permission on the athlete and is owner of the device during this time frame.
  • Read athlete computed data by time frame ID, if he has READ permission on the athlete during this time frame
  • Stream athlete computed data by activity ID and athlete ID if he has READ permission on the athlete at this moment
  • Share READ permission on an athlete to another manager
  • Retrieve preprocessed data of a given device by specifying a time interval, if manager owned this device during this time interval