aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/App
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-01-04 10:40:14 +0100
committerJoas Schilling <coding@schilljs.com>2017-01-04 10:40:14 +0100
commitec4b0d1e8468302c96173934b60dbad6e0e8a070 (patch)
tree4470cfced33f2c7749342599c8f58a94e2a089e0 /lib/public/App
parenta75cfb601ec4d20f2eeddb25d1eb3ba745b71944 (diff)
downloadnextcloud-server-ec4b0d1e8468302c96173934b60dbad6e0e8a070.tar.gz
nextcloud-server-ec4b0d1e8468302c96173934b60dbad6e0e8a070.zip
Remove group restrictions when those are not allowed anymore
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/App')
-rw-r--r--lib/public/App/IAppManager.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/public/App/IAppManager.php b/lib/public/App/IAppManager.php
index 057a964ce0a..72c99777124 100644
--- a/lib/public/App/IAppManager.php
+++ b/lib/public/App/IAppManager.php
@@ -62,6 +62,15 @@ interface IAppManager {
public function enableApp($appId);
/**
+ * Whether a list of types contains a protected app type
+ *
+ * @param string[] $types
+ * @return bool
+ * @since 12.0.0
+ */
+ public function hasProtectedAppType($types);
+
+ /**
* Enable an app only for specific groups
*
* @param string $appId