summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2021-05-21 15:35:39 +0200
committerGitHub <noreply@github.com>2021-05-21 15:35:39 +0200
commitf1dbabd9109c08e62d6f82124c63201c96ad2203 (patch)
treeea6b862c1fa97ec5ad03895c120268bd25d1d35e /lib/public
parentb1ad3faf14140e3c85a7eec1dade88cd551cc747 (diff)
parent8d7fae8fae054eaa08635fea3ba092196c6f8b84 (diff)
downloadnextcloud-server-f1dbabd9109c08e62d6f82124c63201c96ad2203.tar.gz
nextcloud-server-f1dbabd9109c08e62d6f82124c63201c96ad2203.zip
Merge pull request #26727 from nextcloud/group-exclude-link-share
Add option to exclude groups from creating link shares
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Share/IManager.php48
1 files changed, 48 insertions, 0 deletions
diff --git a/lib/public/Share/IManager.php b/lib/public/Share/IManager.php
index 606e6429918..66b4de9c4e5 100644
--- a/lib/public/Share/IManager.php
+++ b/lib/public/Share/IManager.php
@@ -347,6 +347,54 @@ interface IManager {
public function shareApiLinkDefaultExpireDays();
/**
+ * Is default internal expire date enabled
+ *
+ * @return bool
+ * @since 22.0.0
+ */
+ public function shareApiInternalDefaultExpireDate(): bool;
+
+ /**
+ * Is default remote expire date enabled
+ *
+ * @return bool
+ * @since 22.0.0
+ */
+ public function shareApiRemoteDefaultExpireDate(): bool;
+
+ /**
+ * Is default expire date enforced
+ *
+ * @return bool
+ * @since 22.0.0
+ */
+ public function shareApiInternalDefaultExpireDateEnforced(): bool;
+
+ /**
+ * Is default expire date enforced for remote shares
+ *
+ * @return bool
+ * @since 22.0.0
+ */
+ public function shareApiRemoteDefaultExpireDateEnforced(): bool;
+
+ /**
+ * Number of default expire days
+ *
+ * @return int
+ * @since 22.0.0
+ */
+ public function shareApiInternalDefaultExpireDays(): int;
+
+ /**
+ * Number of default expire days for remote shares
+ *
+ * @return int
+ * @since 22.0.0
+ */
+ public function shareApiRemoteDefaultExpireDays(): int;
+
+ /**
* Allow public upload on link shares
*
* @return bool