Skip to content

Commit

Permalink
Reduce contributor permissions in enforced password linkshare check
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalwengerter committed May 24, 2022
1 parent ef0754a commit 4826281
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ export default defineComponent({
return !canRead && !canUpdate && canCreate && !canDelete
}
if (this.passwordEnforced.read_write === true) {
return canRead && canUpdate && canCreate && !canDelete
return canRead && !canUpdate && canCreate && !canDelete
}
if (this.passwordEnforced.read_write_delete === true) {
return canRead && canUpdate && canCreate && canDelete
Expand Down

0 comments on commit 4826281

Please sign in to comment.