diff options
author | Robin Appelman <robin@icewind.nl> | 2023-08-14 15:50:05 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2023-09-04 14:09:41 +0200 |
commit | 8511fb91caa8bd1dcf753fd67141ff4188ae8f64 (patch) | |
tree | b14e3b8ccb23e0fb0ec6ba8ec9dda122b1ba419b /lib/public | |
parent | 09fd427df1e3cb6b1c41b7b1efabcd15b9da4118 (diff) | |
download | nextcloud-server-8511fb91caa8bd1dcf753fd67141ff4188ae8f64.tar.gz nextcloud-server-8511fb91caa8bd1dcf753fd67141ff4188ae8f64.zip |
more share permission logic to storage wrapper
this way we only have to determine the share permissions once
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/Files/IHomeStorage.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/Files/IHomeStorage.php b/lib/public/Files/IHomeStorage.php index 7eb3ffc4a24..1fea80f2d87 100644 --- a/lib/public/Files/IHomeStorage.php +++ b/lib/public/Files/IHomeStorage.php @@ -27,6 +27,7 @@ namespace OCP\Files; use OCP\Files\Storage\IStorage; +use OCP\IUser; /** * Interface IHomeStorage @@ -34,4 +35,11 @@ use OCP\Files\Storage\IStorage; * @since 7.0.0 */ interface IHomeStorage extends IStorage { + /** + * Get the user for this home storage + * + * @return IUser + * @since 28.0.0 + */ + public function getUser(): IUser; } |