mirror of
https://github.com/xevidos/codiad.git
synced 2025-03-14 20:44:27 +01:00
25 lines
295 B
PHP
25 lines
295 B
PHP
|
<?php
|
||
|
|
||
|
class Permissions {
|
||
|
|
||
|
const LEVELS = array(
|
||
|
|
||
|
"none" => 0,
|
||
|
"read" => 1,
|
||
|
"write" => 2,
|
||
|
"create" => 4,
|
||
|
"delete" => 8,
|
||
|
"manager" => 16,
|
||
|
"owner" => 32,
|
||
|
"admin" => 64,
|
||
|
);
|
||
|
|
||
|
const SYSTEM_LEVELS = array(
|
||
|
|
||
|
"user" => 32,
|
||
|
"admin" => 64,
|
||
|
);
|
||
|
|
||
|
function __construct() {}
|
||
|
}
|