Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/Model
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-09-23 16:29:29 +0300
committerJoas Schilling <coding@schilljs.com>2021-10-07 19:18:30 +0300
commit6a1b510916ab81c324c2232fa97a7431d578ccbd (patch)
tree3543fbcd3037ed7ab95ed5cd9017d9b0ed94a19c /lib/Model
parent1b13f80cc119eb386afe72866e6f4f8f9537c471 (diff)
Allow to explicitly set the default and call permissions
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Model')
-rw-r--r--lib/Model/Attendee.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Model/Attendee.php b/lib/Model/Attendee.php
index 2e7a0a3d9..5bcee1029 100644
--- a/lib/Model/Attendee.php
+++ b/lib/Model/Attendee.php
@@ -76,6 +76,7 @@ class Attendee extends Entity {
public const PERMISSIONS_PUBLISH_AUDIO = 16;
public const PERMISSIONS_PUBLISH_VIDEO = 32;
public const PERMISSIONS_PUBLISH_SCREEN = 64;
+ public const PERMISSIONS_MAX = 127; // Max int (when all permissions are granted)
public const PUBLISHING_PERMISSIONS_ALL = 7;