Repository navigation
Jr/try if it works se 664 - #26281
Draft
judithroth wants to merge 9 commits into
Draft
judithroth wants to merge 9 commits into
judithroth wants to merge 9 commits into
Conversation
https://community.openproject.org/wp/SE-664 - POST /api/v3/documents/:id/collaboration_token creates an encrypted token for the collaboration server (Hocuspocus). - An optional `token` revokes the previous token 30 seconds later; each token can be revoked only once (race-free). - Requests authenticated with a collaboration token (an OAuth token issued to the Documents OAuth application) are rejected with 403. - Includes the OpenAPI docs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
https://community.openproject.org/wp/SE-664 They can not connect anyway, so why give them tokens. Fixing the behaviour for anonymous users on instances that are public and have a public project with documents is out of scope of this PR though.
This reverts commit eed5d55.
|
Warning Flaky specs
🤖 Ask Copilot to investigateCopy the prompt below into a new comment on this PR to delegate the investigation to GitHub Copilot. It will look into the flakiness and open a separate pull request with you as reviewer. |
https://community.openproject.org/wp/SE-664 - Collaboration tokens only carry `edit_documents`, accepted solely by GET/PATCH /api/v3/documents/:id (`route_setting :oauth_scopes`). An existing Documents OAuth application is switched to that scope. - All other APIv3 endpoints answer 403 `InsufficientScope`. - The scope is internal: it's hidden from OAuth apps and metadata. - It replaces the application-uid check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
judithroth
force-pushed
the
jr/try-if-it-works-se-664
branch
from
October 26, 2026 13:01
bea935d to
2345374
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ticket
What are you trying to accomplish?
Screenshots
What approach did you choose and why?
AI involvement
Merge checklist