Conversation
- Changed the authorization policy from `GymerOnly` to `GymFeatures` across multiple controllers including `GymGoalsController`, `MealPlanProposalController`, and `PtReviewController`. - Updated the `AssignRoleRequest` to restrict roles to `User`, `Coach`, and `Admin` using a regular expression. - Modified the `NutritionTrackingService` to utilize the new entitlement-based access check for gym features. - Adjusted database scripts to normalize legacy roles and ensure proper role assignments. - Enhanced documentation to reflect changes in role management and entitlement policies.
- Changed account type from 'PT' to 'Coach' in the registration request and related services. - Updated role assignment logic in AuthService to reflect the new account type. - Modified UI components to display 'PT / Coach' for better clarity. - Enhanced Vietnamese translations for activity levels in the localization file.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
- Keep 3 roles: User, Coach, Admin (remove Free/PT) - Default role on registration is User - Update Coach snackbar notifications to auto-hide after 5s Co-authored-by: Cursor <cursoragent@cursor.com>
- Streamlined the logic for displaying notification titles in the Coach notifications tab by removing unnecessary checks for empty strings. - Updated the profile view by removing unused imports to enhance code clarity and maintainability.
No description provided.