Milestone: Milestone 5: Infrastructure & Tools
Category: 5.2 Admin Panel (Web)
Task: Implement role-based access control (RBAC) for the admin panel with different user roles (Admin, Coach, User).
Description
This task involves implementing role-based access control (RBAC) in the web admin panel. The system should define three user roles with different access levels: Admin, Coach, and User. Based on the assigned role, users will have different privileges and access to certain parts of the admin panel.
Subtasks:
Technical Considerations:
- Use JWT tokens to store and verify user roles
- Use middleware in the backend to protect routes based on user roles
- Implement UI components that dynamically display options based on the user’s role
- Ensure that sensitive data (e.g., other users' information) is hidden or protected based on the role
Acceptance Criteria:
Milestone: Milestone 5: Infrastructure & Tools
Category: 5.2 Admin Panel (Web)
Task: Implement role-based access control (RBAC) for the admin panel with different user roles (Admin, Coach, User).
Description
This task involves implementing role-based access control (RBAC) in the web admin panel. The system should define three user roles with different access levels: Admin, Coach, and User. Based on the assigned role, users will have different privileges and access to certain parts of the admin panel.
Subtasks:
Technical Considerations:
Acceptance Criteria: