Skip to content

Gymer - #208

Merged
Duy163 merged 4 commits into
developfrom
Gymer
Aug 15, 2026
Merged

Gymer#208
Duy163 merged 4 commits into
developfrom
Gymer

Conversation

@Duy163

@Duy163 Duy163 commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Duy163 added 2 commits August 15, 2026 15:48
- 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.
@vercel

vercel Bot commented Aug 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
menu-green-system Ready Ready Preview Aug 15, 2026 10:10am

@coderabbitai

coderabbitai Bot commented Aug 15, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 722888f5-abf2-49b8-ad4a-886480750507

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Duy163 and others added 2 commits August 15, 2026 17:04
- 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.
@Duy163
Duy163 merged commit b4dfd77 into develop Aug 15, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant