Skip to content

feat(sharing): Allow custom share tokens for public links#3435

Open
Chartman123 wants to merge 5 commits into
mainfrom
feature/custom-share-links
Open

feat(sharing): Allow custom share tokens for public links#3435
Chartman123 wants to merge 5 commits into
mainfrom
feature/custom-share-links

Conversation

@Chartman123

@Chartman123 Chartman123 commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

Closes #2815

This adds admin-gated custom tokens for public Forms share links. By default the feature is disabled, so existing instances keep the current random-token behavior. When enabled by an admin, form owners can edit the token of an existing public link directly in the sharing sidebar, save it explicitly, and the old URL becomes invalid immediately.

It also adds the necessary backend support for token updates, keeps public-link routing compatible with custom tokens, and includes tests plus API documentation updates.

New PR replacing #3311

@Chartman123 Chartman123 force-pushed the feature/custom-share-links branch from eee7c5e to 5530bfe Compare June 19, 2026 20:00
Signed-off-by: Alexander Rebello <me@alexander-rebello.de>
Signed-off-by: Alexander Rebello <me@alexander-rebello.de>
Signed-off-by: Alexander Rebello <me@alexander-rebello.de>
@Chartman123 Chartman123 force-pushed the feature/custom-share-links branch from 5530bfe to 2926055 Compare June 19, 2026 20:14
Signed-off-by: Christian Hartmann <chris-hartmann@gmx.de>
@Chartman123 Chartman123 force-pushed the feature/custom-share-links branch from 2926055 to da647a3 Compare June 19, 2026 20:35
@codecov

codecov Bot commented Jun 19, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 79.24528% with 11 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
lib/Controller/ShareApiController.php 77.55% 11 Missing ⚠️

📢 Thoughts on this report? Let us know!

…nagement

Signed-off-by: Christian Hartmann <chris-hartmann@gmx.de>
@Chartman123 Chartman123 force-pushed the feature/custom-share-links branch from 8af7d26 to 5d6e136 Compare June 19, 2026 23:53
@Chartman123 Chartman123 self-assigned this Jun 19, 2026
@Chartman123 Chartman123 added enhancement New feature or request 3. to review Waiting for reviews feature: 👥 sharing settings labels Jun 19, 2026
@Chartman123 Chartman123 added this to the 5.4 milestone Jun 19, 2026
@Chartman123 Chartman123 marked this pull request as ready for review June 19, 2026 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews enhancement New feature or request feature: 👥 sharing settings

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Readable links when sharing

2 participants