nextcloud/apps
Robin McCorkell abfd7ecb72 Permit personal mount points to be used for sharing
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()`.
2014-04-21 21:42:35 +01:00
..
files [tx-robot] updated from transifex 2014-04-21 01:56:06 -04:00
files_encryption [tx-robot] updated from transifex 2014-04-14 01:55:09 -04:00
files_external Permit personal mount points to be used for sharing 2014-04-21 21:42:35 +01:00
files_sharing fix header code duplication, code style fixes 2014-04-16 16:26:41 +02:00
files_trashbin [tx-robot] updated from transifex 2014-04-19 01:56:06 -04:00
files_versions [tx-robot] updated from transifex 2014-04-19 01:56:06 -04:00
user_ldap [tx-robot] updated from transifex 2014-04-21 01:56:06 -04:00
user_webdavauth [tx-robot] updated from transifex 2014-04-09 01:56:49 -04:00