mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-02-15 03:58:41 +00:00
move permission type to framework
This commit is contained in:
parent
bb06197022
commit
56dea0391d
|
|
@ -1,41 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Orange Management
|
|
||||||
*
|
|
||||||
* PHP Version 7.1
|
|
||||||
*
|
|
||||||
* @category TBD
|
|
||||||
* @package TBD
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @copyright Dennis Eichhorn
|
|
||||||
* @license OMS License 1.0
|
|
||||||
* @version 1.0.0
|
|
||||||
* @link http://orange-management.com
|
|
||||||
*/
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
namespace Modules\Admin\Models;
|
|
||||||
|
|
||||||
use phpOMS\Stdlib\Base\Enum;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Permission type enum.
|
|
||||||
*
|
|
||||||
* @category Framework
|
|
||||||
* @package phpOMS\DataStorage\Database
|
|
||||||
* @author OMS Development Team <dev@oms.com>
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
* @license OMS License 1.0
|
|
||||||
* @link http://orange-management.com
|
|
||||||
* @since 1.0.0
|
|
||||||
*/
|
|
||||||
abstract class PermissionType extends Enum
|
|
||||||
{
|
|
||||||
/* public */ const NONE = 0;
|
|
||||||
/* public */ const READ = 1;
|
|
||||||
/* public */ const CREATE = 2;
|
|
||||||
/* public */ const MODIFY = 4;
|
|
||||||
/* public */ const DELETE = 8;
|
|
||||||
/* public */ const PERMISSION = 16;
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue
Block a user