Files
web-site/Internal/package-authorization/AuthorizationDefaultConfiguration.php
T
2026-07-01 16:44:17 +03:00

46 lines
1.2 KiB
PHP

<?php namespace ZN\Authorization;
/**
* ZN PHP Web Framework
*
* "Simplicity is the ultimate sophistication." ~ Da Vinci
*
* @package ZN
* @license MIT [http://opensource.org/licenses/MIT]
* @author Ozan UYKUN [ozan@znframework.com]
*/
/**
* Default Configuration
*
* Enabled when the configuration file can not be accessed.
*/
class AuthorizationDefaultConfiguration
{
/*
|--------------------------------------------------------------------------
| Permission
|--------------------------------------------------------------------------
|
| Includes configurations for the Permission library.
|
| method : It is used to set which id value will use which method of sending.
| page : It is used to set which id value will use which page.
| process: It is used to set which id value will use which object.
|
| Example Usage
|
| [
| '1' => 'any',
| '2' => ['noperm' => ['delete', 'update']],
| '3' => ['perm' => ['delete', 'update']],
| '4' => ['noperm' => ['delete', 'update', 'add']],
| '5' => 'all'
| ]
|
*/
public $method = [];
public $page = [];
public $process = [];
}