phpOMS/Account/PermissionType.php
Dennis Eichhorn 0a8a5c63c5
Some checks failed
Compress images / calibreapp/image-actions (push) Has been cancelled
CI / general_module_workflow_php (push) Has been cancelled
fix permissions
2025-04-02 14:15:07 +00:00

41 lines
826 B
PHP

<?php
/**
* Jingga
*
* PHP Version 8.2
*
* @package phpOMS\Account
* @copyright Dennis Eichhorn
* @license OMS License 2.2
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
namespace phpOMS\Account;
use phpOMS\Stdlib\Base\Enum;
/**
* Permission type enum.
*
* @package phpOMS\Account
* @license OMS License 2.2
* @link https://jingga.app
* @since 1.0.0
*/
abstract class PermissionType extends Enum
{
public const NONE = 1; // No permission
public const READ = 2; // Is able to read models/data
public const CREATE = 4; // Is able to create models/data
public const MODIFY = 8; // Is able to modify models/data
public const DELETE = 16; // Is able to delete models/data
public const PERMISSION = 32; // Is able to change permissions
}