Skip to content

Conversation

@JammingBen
Copy link
Contributor

fixes #1635

@JammingBen JammingBen self-assigned this Nov 19, 2025
Copilot AI review requested due to automatic review settings November 19, 2025 14:30
Copy link
Contributor

Copilot AI left a 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 fixes issues with editing and loading versions for received shares by adjusting permission checks and resource loading logic. The changes ensure that incoming share resources are properly handled when determining edit capabilities and version loading.

Key changes:

  • Updated permission checks for editing tags on incoming share resources
  • Modified resource loading logic to handle both incoming and outgoing share resources
  • Expanded permission criteria for tag editing in general resource builder

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
packages/web-pkg/src/components/SideBar/FileSideBar.vue Imports isOutgoingShareResource helper and updates resource loading condition to explicitly check for outgoing/incoming share resources
packages/web-client/src/helpers/share/functions.ts Changes tag editing permission check from createChildren to createUpload for incoming share resources
packages/web-client/src/helpers/resource/functions.ts Adds FolderCreateable permission as an additional criterion for tag editing capability

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@JammingBen JammingBen requested a review from kulmann November 19, 2025 14:44
@JammingBen JammingBen changed the title fix: editing and loading versions for received shares fix: editing and loading tags for received shares Nov 20, 2025
@kulmann kulmann merged commit 00d32e8 into main Nov 21, 2025
28 checks passed
@kulmann kulmann deleted the fix/share-tag-edit branch November 21, 2025 08:49
openclouders pushed a commit that referenced this pull request Nov 21, 2025
fix: editing and loading tags for received shares
@openclouders openclouders mentioned this pull request Nov 21, 2025
1 task
@kulmann
Copy link
Contributor

kulmann commented Nov 21, 2025

💚 All backports created successfully

Status Branch Result
stable-4.2

Questions ?

Please refer to the Backport tool documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

User with edit role cannot add tag to shared recouces

3 participants