-
Notifications
You must be signed in to change notification settings - Fork 156
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
[full-ci] Indirect links should not be editable #6980
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. |
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.
Please also reference this PR in the redesign-links changelog item and/or create your own changelog item, linking to the ticket this is closing
packages/web-app-files/src/components/SideBar/Shares/FileLinks.vue
Outdated
Show resolved
Hide resolved
packages/web-app-files/src/components/SideBar/Shares/FileLinks.vue
Outdated
Show resolved
Hide resolved
f81be30
to
e9f49a2
Compare
Sorry did open the PR before it was ready, should be good to go now. |
Results for oCISSharingPublic2 https://drone.owncloud.com/owncloud/web/25596/69/1 💥 The acceptance tests failed on retry. Please find the screenshots inside ...
webUISharingPublicDifferentRoles-shareByPublicLinkDifferentRoles_feature-L236.pngwebUISharingPublicDifferentRoles-shareByPublicLinkDifferentRoles_feature-L257.pngwebUISharingPublicDifferentRoles-shareByPublicLinkDifferentRoles_feature-L266.pngwebUISharingPublicManagement-publicLinkIndicator_feature-L110.pngwebUISharingPublicManagement-publicLinkIndicator_feature-L12.pngwebUISharingPublicManagement-publicLinkIndicator_feature-L27.pngwebUISharingPublicManagement-publicLinkIndicator_feature-L37.pngwebUISharingPublicManagement-publicLinkIndicator_feature-L47.pngwebUISharingPublicManagement-shareByPublicLink_feature-L107.pngwebUISharingPublicManagement-shareByPublicLink_feature-L118.pngwebUISharingPublicManagement-shareByPublicLink_feature-L151.pngwebUISharingPublicManagement-shareByPublicLink_feature-L158.pngwebUISharingPublicManagement-shareByPublicLink_feature-L169.pngwebUISharingPublicManagement-shareByPublicLink_feature-L19.pngwebUISharingPublicManagement-shareByPublicLink_feature-L25.pngwebUISharingPublicManagement-shareByPublicLink_feature-L49.pngwebUISharingPublicManagement-shareByPublicLink_feature-L67.pngwebUISharingPublicManagement-shareByPublicLink_feature-L78.pngwebUISharingPublicManagement-shareByPublicLink_feature-L90.pngwebUISharingPublicManagement-sharingPublicSession_feature-L10.pngwebUISharingPublicManagement-sharingPublicSession_feature-L20.pngwebUISharingPublicManagement-sharingPublicSession_feature-L28.pngwebUISharingPublicManagement-sharingPublicSession_feature-L35.pngwebUISharingPublicManagement-sharingPublicSession_feature-L48.png |
e9f49a2
to
7185607
Compare
Kudos, SonarCloud Quality Gate passed! |
@lookacat @pascalwengerter what about the |
@lookacat decided to drop his implementation since the DetailsAndEdit already covers it via web/packages/web-app-files/src/components/SideBar/Shares/Links/DetailsAndEdit.vue Line 64 in 04404e8
|
@@ -58,7 +58,7 @@ | |||
<details-and-edit | |||
:is-folder-share="highlightedFile.isFolder" | |||
:link="link" | |||
:modifiable="canEdit" | |||
:modifiable="canEdit && !isLinkIndirect(link)" |
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.
Wouldn't :modifiable="canEdit && !link.indirect
already do the same without the additional method? 🤔
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.
True, let me open a quick PR bumping deps and simplifying this
Ah, makes sense. Thank you for the pointer! But then I have a followup question, see other comment 😅 |
Description
See #6964
Related Issue
Types of changes
Checklist: