Skip to content

Conversation

@lexiv0re
Copy link
Collaborator

@lexiv0re lexiv0re commented Sep 1, 2025

  • Adds new createAccessLink method to generate workspace access links

Related to: https://front.hc.engineering/workbench/platform/tracker/UBERF-13383
Closes #9746

Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
@lexiv0re lexiv0re requested review from Copilot and utkaka September 1, 2025 05:04
@huly-github-staging
Copy link

Connected to Huly®: UBERF-13384

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 implements a new guest access token system to enable workspace access link creation. The core functionality allows users to generate access links for workspaces that create temporary guest accounts with specified roles and permissions.

Key changes:

  • Added createAccessLink method to generate workspace access links with embedded permission grants
  • Enhanced token system to support permissions grants with automatic account creation
  • Updated login flow to handle access tokens requiring user information input

Reviewed Changes

Copilot reviewed 28 out of 28 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
server/token/src/token.ts Added PermissionsGrant interface and updated generateToken to support grants
server/account/src/operations.ts Implemented createAccessLink method and enhanced getLoginInfoByToken with grant handling
server/account/src/utils.ts Added signUpByGrant function and updated createAccount to return social ID
server/account/src/types.ts Added new types for login info requests and database UUID generation
server/account/src/collections/ Implemented generatePersonUuid methods for both Postgres and MongoDB
plugins/login-resources/src/ Updated login components to handle access token authentication flow
packages/account-client/src/ Added client-side support for access link creation and token handling

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
@lexiv0re lexiv0re merged commit 00e7f13 into develop Sep 1, 2025
15 checks passed
@lexiv0re lexiv0re deleted the uberf-13383/guest-access-token branch September 1, 2025 08:07
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.

Guest access token

3 participants