mirror of
https://github.com/nextcloud/server.git
synced 2026-06-27 09:30:36 -04:00
An issue existed where `readData` used `OCP\User::getUser()` to get the user for personal mount points, which worked in all situations apart from when a personal mount point was used for sharing, so the return from `getUser()` is not the user that owns the share. As such, any personal mount points would not work correctly when shared. `readData` and `writeData` have been changed from using a `$isPersonal` boolean to using a `$user` string|null. `$isPersonal = false` can now be written as `$user = NULL` (or left out in the case of `readData`), and `$isPersonal = true` can be written as `$user = OCP\User::getUser()`. |
||
|---|---|---|
| .. | ||
| files | ||
| files_encryption | ||
| files_external | ||
| files_sharing | ||
| files_trashbin | ||
| files_versions | ||
| user_ldap | ||
| user_webdavauth | ||