diff options
Diffstat (limited to 'lib/public/Collaboration')
-rw-r--r-- | lib/public/Collaboration/Resources/IManager.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/public/Collaboration/Resources/IManager.php b/lib/public/Collaboration/Resources/IManager.php index af371f7b4f0..050326d91c4 100644 --- a/lib/public/Collaboration/Resources/IManager.php +++ b/lib/public/Collaboration/Resources/IManager.php @@ -64,6 +64,25 @@ interface IManager extends IProvider { public function canAccessCollection(ICollection $collection, ?IUser $user): bool; /** + * @param IUser|null $user + * @since 16.0.0 + */ + public function invalidateAccessCacheForUser(?IUser $user): void; + + /** + * @param IResource $resource + * @since 16.0.0 + */ + public function invalidateAccessCacheForResource(IResource $resource): void; + + /** + * @param IResource $resource + * @param IUser|null $user + * @since 16.0.0 + */ + public function invalidateAccessCacheForResourceByUser(IResource $resource, ?IUser $user): void; + + /** * @param string $type * @param string $id * @return IResource |