diff options
author | Robin Appelman <robin@icewind.nl> | 2023-08-14 15:50:05 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2023-08-14 18:17:27 +0200 |
commit | a031bc4788229b7943a13202998e895d08161490 (patch) | |
tree | ae541c4c09c7cbcd4391013951424ff3a9435523 /lib/public/Files/IHomeStorage.php | |
parent | dfbc0d8572395c459aa80df5e503b8688e2b7f6f (diff) | |
download | nextcloud-server-a031bc4788229b7943a13202998e895d08161490.tar.gz nextcloud-server-a031bc4788229b7943a13202998e895d08161490.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/Files/IHomeStorage.php')
-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; } |