Skip to content
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

feat(permissionColl & models/sharing): Improve sharing link feature #1579

Merged
merged 4 commits into from
Jan 21, 2025

Conversation

Merkur39
Copy link
Member

@Merkur39 Merkur39 commented Jan 16, 2025

Overall improvement in link sharing

Link with : cozy/cozy-stack#4506

Copy link
Contributor

@paultranvan paultranvan left a comment

Choose a reason for hiding this comment

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

Looks good, just a remark on a potential BC

BREAKING CHANGE: By default, the name of the attribute returned
via `createSharingLink` is no longer `email` but `code`.
You can either adapt your code accordingly or
simply add the option `{ codes: 'email' }` when calling `createSharingLink`.
BREAKING CHANGE: Rename getSharingLink to makeSharingLink.

This function creates or updates a share link.
Add an option parameter to manage the validity date
and password of the permission.
@Merkur39 Merkur39 merged commit b2d2c73 into master Jan 21, 2025
3 checks passed
@Merkur39 Merkur39 deleted the feat/vo-1244 branch January 21, 2025 09:55
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