Skip to content

Conversation

@MarceloRGonc
Copy link
Contributor

Part of OPS-3343.

@linear
Copy link

linear bot commented Jan 6, 2026

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 6, 2026

@MarceloRGonc MarceloRGonc marked this pull request as ready for review January 6, 2026 17:00
Copilot AI review requested due to automatic review settings January 6, 2026 17:00
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds an isMasterProject boolean flag to the authentication response and project context types to distinguish master projects from regular projects. This is part of the OPS-3343 initiative.

Key changes:

  • Added isMasterProject field to authentication response and project context types
  • Updated authentication utilities to include the new flag in responses
  • Currently hardcoded to true in the project context creation function

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
packages/shared/src/lib/authentication/dto/authentication-response.ts Added isMasterProject boolean field to the AuthenticationResponse type
packages/server/api/src/app/authentication/utils.ts Updated buildAuthResponse to include isMasterProject from project context
packages/server/api/src/app/authentication/types.ts Added isMasterProject boolean field to the ProjectContext type
packages/server/api/src/app/authentication/context/create-project-auth-context.ts Refactored return type to use ProjectContext and hardcoded isMasterProject to true

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@MarceloRGonc MarceloRGonc changed the title Add isMasterProject flag Expose isMasterProject value to frontend on login Jan 6, 2026
@MarceloRGonc MarceloRGonc merged commit 0171929 into main Jan 7, 2026
23 checks passed
@MarceloRGonc MarceloRGonc deleted the mg/OPS-3343 branch January 7, 2026 08:06
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.

4 participants