There should be a superadmin account with full access and permissions to everything.
The superadmin should have the ability to grant other users more access, in our case, they should be able to upgrade a student athlete account into a coaching account.
The student athlete account will only have access to their own data, while the coach account will have access to the data of all students on the team.
There should also be a way to create teams, so that student athletes can be associated with their coach. There should be an association between them.
These can usually be done by having a special role on coach accounts that will have higher access.
Here are some resources that might be helpful to look into:
There should be a superadmin account with full access and permissions to everything.
The superadmin should have the ability to grant other users more access, in our case, they should be able to upgrade a student athlete account into a coaching account.
The student athlete account will only have access to their own data, while the coach account will have access to the data of all students on the team.
There should also be a way to create teams, so that student athletes can be associated with their coach. There should be an association between them.
These can usually be done by having a special role on coach accounts that will have higher access.
Here are some resources that might be helpful to look into:
https://www.linkedin.com/pulse/comprehensive-solution-managing-user-permissions-react-arun-kumar/
https://www.youtube.com/watch?v=nzV3hw-MAws&ab_channel=ZarxBiz
https://www.youtube.com/watch?v=UhrmPH3TLus&ab_channel=DaveGray