diff options
author | Greta Doci <gretadoci@gmail.com> | 2019-06-25 15:20:06 +0200 |
---|---|---|
committer | Greta Doci <gretadoci@gmail.com> | 2019-06-27 20:17:50 +0200 |
commit | 5898e87e0f69ed4a3be73cd044c19d7c4872b639 (patch) | |
tree | 5b5c2914f5d8523db948487b814b95262a10ab09 /lib/public/App | |
parent | dc9e73a6df24136ea18bf630ae07cb333817a8ef (diff) | |
download | nextcloud-server-5898e87e0f69ed4a3be73cd044c19d7c4872b639.tar.gz nextcloud-server-5898e87e0f69ed4a3be73cd044c19d7c4872b639.zip |
Remove deleted groups from app restrictions fixes #15823
Signed-off-by: Greta Doci <gretadoci@gmail.com>
Diffstat (limited to 'lib/public/App')
-rw-r--r-- | lib/public/App/IAppManager.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/public/App/IAppManager.php b/lib/public/App/IAppManager.php index b0d04500f35..6213227bfd1 100644 --- a/lib/public/App/IAppManager.php +++ b/lib/public/App/IAppManager.php @@ -28,6 +28,7 @@ namespace OCP\App; use OCP\IUser; +use OCP\IGroup; /** * Interface IAppManager @@ -158,4 +159,18 @@ interface IAppManager { * @since 9.0.0 */ public function getAlwaysEnabledApps(); + + /** + * @param \OCP\IGroup $group + * @return String[] + * @since 17.0.0 + */ + public function getEnabledAppsForGroup(IGroup $group): array; + + /** + * @param String $appId + * @return string[] + * @since 17.0.0 + */ + public function getAppRestriction(string $appId): array; } |