-
Notifications
You must be signed in to change notification settings - Fork 1.7k
UBERF-13510: Card space public link #9804
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Connected to Huly®: UBERF-13542 |
There was a problem hiding this 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.
d578e70 to
f273f92
Compare
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>
692a00f to
0b22e27
Compare
Related to: https://front.hc.engineering/workbench/platform/tracker/UBERF-13510
Closes #9788