Skip to content

Conversation

@cezudas
Copy link
Contributor

@cezudas cezudas commented Jan 19, 2026

Fixes OPS-3446.

@linear
Copy link

linear bot commented Jan 19, 2026

@cezudas cezudas marked this pull request as ready for review January 19, 2026 12:42
Copilot AI review requested due to automatic review settings January 19, 2026 12:42
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 project context to analytics access verification by including projectId as a parameter throughout the analytics authentication flow. The change enables access verification to be scoped to specific projects rather than just users.

Changes:

  • Updated analytics authentication service to accept and pass projectId parameter
  • Modified analytics access service interface and implementation to include projectId in verification
  • Updated controller calls to provide projectId from request principal

Reviewed changes

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

File Description
authentication.controller.ts Passes projectId from request principal to analytics authentication service
access-service.ts Updated stub implementation to remove unused parameter
access-service-factory.ts Added projectId parameter to service interface type definition
analytics-authentication-service.ts Updated to accept and forward projectId to access verification

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

@cezudas cezudas marked this pull request as draft January 19, 2026 13:12
@cezudas cezudas marked this pull request as ready for review January 19, 2026 13:33
@sonarqubecloud
Copy link

@cezudas cezudas merged commit 8ddb52e into main Jan 19, 2026
25 checks passed
@cezudas cezudas deleted the cezudas/OPS-3446 branch January 19, 2026 14:53
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.

3 participants