]> source.dussan.org Git - nextcloud-server.git/commit
Set proper public webdav permissions when public upload disabled
authorRoeland Jago Douma <rullzer@owncloud.com>
Thu, 17 Mar 2016 10:35:31 +0000 (11:35 +0100)
committerRoeland Jago Douma <rullzer@owncloud.com>
Thu, 17 Mar 2016 12:56:51 +0000 (13:56 +0100)
commit52eb26dc9eedcd2d7a205210c306dcefcfcf41ae
tree9851f9b658c7561800a3a06b5fcb57e7136aa99f
parent954a0a2dd56642ff8b1212601de572193e6e2b4e
Set proper public webdav permissions when public upload disabled

Fixes #23325

It can happen that a user shares a folder with public upload. And some
time later the admin disables public upload on the server.

To make sure this is handled correctly we need to check the config value
and reduce the permissions.

Fix is kept small to be easy backportable.
apps/files_sharing/lib/connector/publicauth.php