diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2021-06-07 17:19:43 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-06-11 10:08:06 +0300 |
commit | 1588b641719eee7777cae803cda594a28953bb49 (patch) | |
tree | f20cc6c0808cf62bbc4ef72b56c7d5b7b5c6f4aa | |
parent | dbd1abfafc16791758cb97124cefcc82cf37f62f (diff) |
Add capability for "publishing-permissions"
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
-rw-r--r-- | docs/capabilities.md | 1 | ||||
-rw-r--r-- | lib/Capabilities.php | 1 | ||||
-rw-r--r-- | tests/php/CapabilitiesTest.php | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/docs/capabilities.md b/docs/capabilities.md index ee36a552a..0e4765fcd 100644 --- a/docs/capabilities.md +++ b/docs/capabilities.md @@ -77,3 +77,4 @@ title: Capabilities * `signaling-v3` - Whether signaling API v3 is available. This also means that v1 and v2 are **not** available anymore. The TURN and STUN server data is now returning all defined servers instead of a random one. Multiple entries for the same server are combined and using the urls array correctly now. * `geo-location-sharing` - Whether the `geo-location` rich object is defined and can be shared to the rich-object sharing endpoint. * `voice-message-sharing` - Shared files can be flagged as voice messages and are then presented differently in the interface +* `publishing-permissions` - Whether the publishing permissions can be set for the attendees. diff --git a/lib/Capabilities.php b/lib/Capabilities.php index ee4190d9f..5421e1712 100644 --- a/lib/Capabilities.php +++ b/lib/Capabilities.php @@ -93,6 +93,7 @@ class Capabilities implements IPublicCapability { 'geo-location-sharing', 'voice-message-sharing', 'signaling-v3', + 'publishing-permissions', ], 'config' => [ 'attachments' => [ diff --git a/tests/php/CapabilitiesTest.php b/tests/php/CapabilitiesTest.php index 347742e3f..653810928 100644 --- a/tests/php/CapabilitiesTest.php +++ b/tests/php/CapabilitiesTest.php @@ -90,6 +90,7 @@ class CapabilitiesTest extends TestCase { 'geo-location-sharing', 'voice-message-sharing', 'signaling-v3', + 'publishing-permissions', ]; } |