Skip to content

Conversation

@lexiv0re
Copy link
Collaborator

@lexiv0re lexiv0re commented Sep 8, 2025

  • Adds a new menu action to share a personalized public link to a cards space

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

@lexiv0re lexiv0re requested review from Copilot and utkaka September 8, 2025 15:10
@huly-github-staging
Copy link

Connected to Huly®: UBERF-13542

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 a new menu action to share personalized public links to card spaces, enabling users to generate access links with specific space permissions for Guest users.

  • Extends token and permission system to support space-scoped access grants
  • Implements public link generation for card spaces with proper validation
  • Adds localized UI strings and actions for the new functionality

Reviewed Changes

Copilot reviewed 24 out of 24 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
server/token/src/token.ts Adds grantedBy field and changes spaces type to string array in PermissionsGrant
server/server/src/client.ts Updates session to return grantedBy and properly type spaces array
server/account/src/operations.ts Extends createAccessLink to accept spaces parameter and adds grantedBy validation
server-plugins/contact-resources/src/index.ts Implements space access validation logic with grantor verification
plugins/view/src/utils.ts Moves canCopyLink utility function to view package
plugins/view-resources/src/utils.ts Removes canCopyLink function (moved to view package)
plugins/card/src/index.ts Adds new action strings and function definitions
plugins/card-resources/src/utils.ts Implements core logic for generating space access public links
plugins/card-resources/package.json Adds required dependencies for login and account-client
plugins/card-assets/lang/*.json Adds localized strings for "Get personalized public link"
packages/core/src/utils.ts Updates PermissionsGrant interface to include grantedBy field
packages/account-client/src/client.ts Updates createAccessLink API to accept options object with spaces
models/card/src/index.ts Defines new context menu action for card spaces

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

@lexiv0re lexiv0re force-pushed the uberf-13510/space-public-link branch from d578e70 to f273f92 Compare September 8, 2025 15:12
utkaka
utkaka previously approved these changes Sep 9, 2025
haiodo
haiodo previously approved these changes Sep 9, 2025
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>

Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>

Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>

Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>

Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>

Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
@lexiv0re lexiv0re dismissed stale reviews from haiodo and utkaka via 0b22e27 September 9, 2025 05:49
@lexiv0re lexiv0re force-pushed the uberf-13510/space-public-link branch from 692a00f to 0b22e27 Compare September 9, 2025 05:49
@haiodo haiodo merged commit 443856f into develop Sep 9, 2025
15 checks passed
@haiodo haiodo deleted the uberf-13510/space-public-link branch September 9, 2025 06:32
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.

Allow sharing personal public link to a cards space

4 participants