1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
CollabDictionary.php
См. документацию.
1<?php
2
3declare(strict_types=1);
4
5namespace Bitrix\SocialNetwork\Collab\Access;
6
7use Bitrix\Socialnetwork\Permission\AccessDictionaryInterface;
8use Bitrix\Socialnetwork\Helper\SingletonTrait;
9
11{
12 use SingletonTrait;
13
14 public const CREATE = 'collab_create';
15 public const UPDATE = 'collab_update';
16 public const DELETE = 'collab_delete';
17 public const INVITE = 'collab_invite';
18 public const LEAVE = 'collab_leave';
19 public const EXCLUDE = 'collab_exclude';
20 public const VIEW = 'collab_view';
21 public const EXCLUDE_MODERATOR = 'collab_exclude_moderator';
22 public const SET_MODERATOR = 'collab_set_moderator';
23
24 public const COPY_LINK = 'collab_copy_link';
25
26 public function create(): string
27 {
28 return static::CREATE;
29 }
30
31 public function update(): string
32 {
33 return static::UPDATE;
34 }
35
36 public function delete(): string
37 {
38 return static::DELETE;
39 }
40}