-
Notifications
You must be signed in to change notification settings - Fork 157
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
Enable rename on shared resource #7390
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
@@ -384,7 +385,7 @@ export function buildSharedResource( | |||
} | |||
resource.canDownload = () => parseInt(share.state) === ShareStatus.accepted | |||
resource.canShare = () => SharePermissions.share.enabled(share.permissions) | |||
resource.canRename = () => SharePermissions.update.enabled(share.permissions) | |||
resource.canRename = () => true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kulmann I don't know if we can leave it this way, or we need a distinction between ocis and oc10
if (file.isReceivedShare()) { | ||
newPath = `${ | ||
context.getters.spaces.find((space) => space.driveAlias === 'virtual/shares')?.webDavPath | ||
}/` | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kulmann I think this needs a sharingJail or spaces check?
Problems:
|
Kudos, SonarCloud Quality Gate passed! |
Blocked by owncloud/ocis#4322 |
2a2bc65
to
eb99f91
Compare
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: