diff options
Diffstat (limited to 'lib/public/Share/IShareProvider.php')
-rw-r--r-- | lib/public/Share/IShareProvider.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/public/Share/IShareProvider.php b/lib/public/Share/IShareProvider.php index 6257c97eb77..2533e81abf2 100644 --- a/lib/public/Share/IShareProvider.php +++ b/lib/public/Share/IShareProvider.php @@ -190,4 +190,21 @@ interface IShareProvider { * @since 9.1.0 */ public function userDeletedFromGroup($uid, $gid); + + /** + * Get the access list to the array of provided nodes. + * Return will look like: + * + * [ + * users => ['user1', 'user2', 'user4'], + * public => bool + * remote => bool + * ] + * + * @param Node[] $nodes The list of nodes to get access for + * @param bool $currentAccess If current access is required (like for removed shares that might get revived later) + * @return string[] + * @since 12 + */ + public function getAccessList($nodes, $currentAccess); } |