summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2017-01-06 15:38:13 +0100
committerGitHub <noreply@github.com>2017-01-06 15:38:13 +0100
commit4a2fbe9a5b6fd17781dd6de78b1247824618d717 (patch)
treeb573b7979431a312b0827453b6a0869b760d7f6d /lib/public
parent3ab22c2df53c8b86cbd72037ab407327b18cce11 (diff)
parentec4b0d1e8468302c96173934b60dbad6e0e8a070 (diff)
downloadnextcloud-server-4a2fbe9a5b6fd17781dd6de78b1247824618d717.tar.gz
nextcloud-server-4a2fbe9a5b6fd17781dd6de78b1247824618d717.zip
Merge pull request #2930 from nextcloud/kill-group-restriction-when-not-applicable
Remove group restrictions when those are not allowed anymore
Diffstat (limited to 'lib/public')
-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