Skip to content

fix: [OCISDEV-209] fix graph create link endpoint - #11543

Merged
2403905 merged 1 commit into
owncloud:masterfrom
2403905:issues/OCISDEV-209
Jul 18, 2025
Merged

2403905 merged 1 commit into
owncloud:masterfrom
2403905:issues/OCISDEV-209

Conversation

@2403905

@2403905 2403905 commented Jul 17, 2025 •

Copy link
Copy Markdown
Contributor

Description

Related Issue

Motivation and Context

How Has This Been Tested?

  • test environment:
  • test case 1:
  • test case 2:
  • ...

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

@2403905
2403905 force-pushed the issues/OCISDEV-209 branch 2 times, most recently from 2f9c3d3 to a67474e Compare July 17, 2025 15:54
@2403905
2403905 requested a review from saw-jan July 17, 2025 15:54
@2403905
2403905 force-pushed the issues/OCISDEV-209 branch from a67474e to 240cd3e Compare July 17, 2025 20:42
@sonarqubecloud

Copy link
Copy Markdown

@saw-jan saw-jan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

test changes look good 👍

@2403905
2403905 merged commit 6363fc2 into owncloud:master Jul 18, 2025
ownclouders pushed a commit that referenced this pull request Jul 18, 2025
fix: [OCISDEV-209] fix graph create link endpoint
butonic added a commit to opencloud-eu/opencloud that referenced this pull request Nov 13, 2026
Creating a link on the root of the Shares drive was only caught later
by the permission check, and an internal link with the internal role
was not rejected at all. We now answer with a 400 "cannot create link
on shares space root" before even looking at the request body, just
like we do for the personal space root.

The acceptance scenarios now expect the new message for the Shares
drive, and the internal link scenario covers the Shares drive again.

ported from `owncloud/ocis#11543`

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
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.

Shares drive can be shared via link share with Internal role using permissions endpoint

3 participants