-
Notifications
You must be signed in to change notification settings - Fork 155
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
Fix cancelling custom permissions #8340
Conversation
Kudos, SonarCloud Quality Gate passed! |
@@ -293,7 +290,9 @@ export default defineComponent({ | |||
}, | |||
|
|||
cancelCustomPermissions() { | |||
this.customPermissions = this.existingPermissions | |||
this.customPermissions = this.existingPermissions.length |
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.
FYI this is the important change here. The rest is just refactoring/cleaning outdated stuff,.
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.
👍
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.
👏
@@ -293,7 +290,9 @@ export default defineComponent({ | |||
}, | |||
|
|||
cancelCustomPermissions() { | |||
this.customPermissions = this.existingPermissions | |||
this.customPermissions = this.existingPermissions.length |
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.
👍
Description
We've fixed a bug where cancelling the custom permissions on a share would remove all permissions.
Related Issue
Types of changes