[Bug]: Creating new shares doesn't use default admin sharing permissions #42835
Labels
1. to develop
Accepted and waiting to be taken care of
27-feedback
bug
feature: sharing
high
regression
Bug description
Since Nextcloud 27, when you create a new share, the FULL permissions
31
gets used, unless you specifically changes the custom permissions (which then, the default are also NOT used in the pre-checked checkboxes)Steps to reproduce
Expected behavior
The new share is created with the default permissions and not
31
Additional infos
Issue seems to come from the default permissions set being used here:
server/apps/files_sharing/src/views/SharingDetailsTab.vue
Lines 755 to 762 in e35f6d8
Historically, we used to sen the permissions as
null
to the Share OCS API and the backend would use the default permissions. Now it's always sent as31
when untouched by the user.The text was updated successfully, but these errors were encountered: