mirror of
				https://github.com/brmlab/brmbiolab_sklad.git
				synced 2025-10-30 23:14:01 +01:00 
			
		
		
		
	Initial commit
This commit is contained in:
		
						commit
						3b93da31de
					
				
					 1004 changed files with 265840 additions and 0 deletions
				
			
		
							
								
								
									
										73
									
								
								lib/Cake/Controller/Component/Acl/AclInterface.php
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										73
									
								
								lib/Cake/Controller/Component/Acl/AclInterface.php
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,73 @@ | |||
| <?php | ||||
| /** | ||||
|  * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) | ||||
|  * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) | ||||
|  * | ||||
|  * Licensed under The MIT License | ||||
|  * For full copyright and license information, please see the LICENSE.txt | ||||
|  * Redistributions of files must retain the above copyright notice. | ||||
|  * | ||||
|  * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) | ||||
|  * @link          http://cakephp.org CakePHP(tm) Project | ||||
|  * @package       Cake.Controller.Component.Acl | ||||
|  * @since         CakePHP(tm) v 0.10.0.1076 | ||||
|  * @license       http://www.opensource.org/licenses/mit-license.php MIT License | ||||
|  */ | ||||
| 
 | ||||
| /** | ||||
|  * Access Control List interface. | ||||
|  * Implementing classes are used by AclComponent to perform ACL checks in Cake. | ||||
|  * | ||||
|  * @package       Cake.Controller.Component.Acl | ||||
|  */ | ||||
| interface AclInterface { | ||||
| 
 | ||||
| /** | ||||
|  * Empty method to be overridden in subclasses | ||||
|  * | ||||
|  * @param string $aro ARO The requesting object identifier. | ||||
|  * @param string $aco ACO The controlled object identifier. | ||||
|  * @param string $action Action (defaults to *) | ||||
|  * @return bool Success | ||||
|  */ | ||||
| 	public function check($aro, $aco, $action = "*"); | ||||
| 
 | ||||
| /** | ||||
|  * Allow methods are used to grant an ARO access to an ACO. | ||||
|  * | ||||
|  * @param string $aro ARO The requesting object identifier. | ||||
|  * @param string $aco ACO The controlled object identifier. | ||||
|  * @param string $action Action (defaults to *) | ||||
|  * @return bool Success | ||||
|  */ | ||||
| 	public function allow($aro, $aco, $action = "*"); | ||||
| 
 | ||||
| /** | ||||
|  * Deny methods are used to remove permission from an ARO to access an ACO. | ||||
|  * | ||||
|  * @param string $aro ARO The requesting object identifier. | ||||
|  * @param string $aco ACO The controlled object identifier. | ||||
|  * @param string $action Action (defaults to *) | ||||
|  * @return bool Success | ||||
|  */ | ||||
| 	public function deny($aro, $aco, $action = "*"); | ||||
| 
 | ||||
| /** | ||||
|  * Inherit methods modify the permission for an ARO to be that of its parent object. | ||||
|  * | ||||
|  * @param string $aro ARO The requesting object identifier. | ||||
|  * @param string $aco ACO The controlled object identifier. | ||||
|  * @param string $action Action (defaults to *) | ||||
|  * @return bool Success | ||||
|  */ | ||||
| 	public function inherit($aro, $aco, $action = "*"); | ||||
| 
 | ||||
| /** | ||||
|  * Initialization method for the Acl implementation | ||||
|  * | ||||
|  * @param Component $component The AclComponent instance. | ||||
|  * @return void | ||||
|  */ | ||||
| 	public function initialize(Component $component); | ||||
| 
 | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 mareksebera
						mareksebera