mirror of
https://github.com/openvk/chandler.git
synced 2025-07-15 20:05:42 +03:00
17 lines
372 B
PHP
17 lines
372 B
PHP
<?php declare(strict_types=1);
|
|
namespace Chandler\Security\Authorization;
|
|
|
|
class Permission
|
|
{
|
|
const CONTEXT_OWNER = 0;
|
|
const CONTEXT_EVERYONE = 1;
|
|
|
|
const ACTION_READ = "read";
|
|
const ACTION_EDIT = "update";
|
|
const ACTION_DELETE = "delete";
|
|
|
|
public $action;
|
|
public $model;
|
|
public $context;
|
|
public $status = true;
|
|
}
|