-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSharingVisibilities.php
More file actions
35 lines (30 loc) · 956 Bytes
/
SharingVisibilities.php
File metadata and controls
35 lines (30 loc) · 956 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
/*
* This file is part of the Klipper package.
*
* (c) François Pluchino <francois.pluchino@klipper.dev>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Klipper\Component\Security;
/**
* @author François Pluchino <francois.pluchino@klipper.dev>
*/
final class SharingVisibilities
{
/**
* The SharingVisibilities::TYPE_NONE type defines that no record is filtered and configured.
*/
public const TYPE_NONE = 'none';
/**
* The SharingVisibilities::TYPE_PUBLIC type defines that no record is filtered, but records
* can be configured.
*/
public const TYPE_PUBLIC = 'public';
/**
* The SharingVisibilities::TYPE_PRIVATE type defines that records are filtered,
* and only records with sharing entries are listed with their configurations.
*/
public const TYPE_PRIVATE = 'private';
}