mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 02:00:51 -04:00
Merge pull request #21587 from nextcloud/backport/20726/stable17-fix-federated-link-sharing-permissions
[stable17] Fix federated link sharing permissions
This commit is contained in:
commit
04d1f76775
3 changed files with 5 additions and 3 deletions
2
core/js/dist/share_backend.js
vendored
2
core/js/dist/share_backend.js
vendored
File diff suppressed because one or more lines are too long
2
core/js/dist/share_backend.js.map
vendored
2
core/js/dist/share_backend.js.map
vendored
File diff suppressed because one or more lines are too long
|
|
@ -882,7 +882,9 @@
|
|||
var publicUploadRChecked = '';
|
||||
var publicUploadWChecked = '';
|
||||
|
||||
switch (this.model.linkSharePermissions(share.id)) {
|
||||
// Public upload status is independent of the share permission,
|
||||
// which is used for federated shares.
|
||||
switch (this.model.linkSharePermissions(share.id) & ~OC.PERMISSION_SHARE) {
|
||||
case OC.PERMISSION_READ:
|
||||
publicUploadRChecked = 'checked';
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue