SERVICES/CRUDE_ACL_SERVICE.service.php
public function authorize($params = null){
		#echo __METHOD__.'@'.__LINE__.'$args<pre>['.var_export($params, true).']</pre>'.'<br>'; 
		$this->init($params);
		$_SESSION['role_id'];
		if(!isset($params["role"])){
			return false;
		}
		
		
		if(!isset($params["rule"])){
			return false;
		}
		$this->WORKING_ROLE = $this->CRUDE_USER_ROLE_ENTITY->getRole($params["role"]);
		if(is_numeric($params["role"])){
			#echo __METHOD__.'@'.__LINE__.'$args<pre>['.var_export($params, true).']</pre>'.'<br>'; 
			$params["role"] = $this->CRUDE_USER_ROLE_ENTITY->getRoleName($params["role"]);
		}
		#echo __METHOD__.'@'.__LINE__.'$args<pre>['.var_export($params, true).']</pre>'.'<br>'.PHP_EOL; 
		#$params["rule"] = 
		#echo __METHOD__.'@'.__LINE__.'$workingRole<pre>['.var_export($workingRole, true).']</pre>'.'<br>'; 

		$this->WORKING_RULE = $this->CRUDE_ACL_ENTITY->getRule($params["rule"]);
		#echo __METHOD__.'@'.__LINE__.'$this->WORKING_ROLE<pre>['.var_export($this->WORKING_ROLE, true).']</pre>'.'<br>'.PHP_EOL; 
		#echo __METHOD__.'@'.__LINE__.'$this->WORKING_RULE<pre>['.var_export($this->WORKING_RULE, true).']</pre>'.'<br>'.PHP_EOL; 
		$authtest = false;
		
		switch(strtoupper($params["order"])){//authType
			case "ALLOW":
			case "ALLOW,DENY":
				$authtest = $this->authorizeAllowDeny($params);
				break;
			case "DENY":
			case "DENY,ALLOW":
				$authtest = $this->authorizeDenyAllow($params);
				break;
			default:
				return false;
				break;
		}
		#echo __METHOD__.'@'.__LINE__.'$authtest<pre>['.var_export($authtest, true).']</pre>'.'<br>'.PHP_EOL; 
		return $authtest;
	}
public function authorize($params = null){
		#echo __METHOD__.'@'.__LINE__.'$args<pre>['.var_export($params, true).']</pre>'.'<br>'; 
		$this->init($params);
		$_SESSION['role_id'];
		if(!isset($params["role"])){
			return false;
		}
		
		
		if(!isset($params["rule"])){
			return false;
		}
		$this->WORKING_ROLE = $this->CRUDE_USER_ROLE_ENTITY->getRole($params["role"]);
		if(is_numeric($params["role"])){
			#echo __METHOD__.'@'.__LINE__.'$args<pre>['.var_export($params, true).']</pre>'.'<br>'; 
			$params["role"] = $this->CRUDE_USER_ROLE_ENTITY->getRoleName($params["role"]);
		}
		#echo __METHOD__.'@'.__LINE__.'$args<pre>['.var_export($params, true).']</pre>'.'<br>'.PHP_EOL; 
		#$params["rule"] = 
		#echo __METHOD__.'@'.__LINE__.'$workingRole<pre>['.var_export($workingRole, true).']</pre>'.'<br>'; 

		$this->WORKING_RULE = $this->CRUDE_ACL_ENTITY->getRule($params["rule"]);
		#echo __METHOD__.'@'.__LINE__.'$this->WORKING_ROLE<pre>['.var_export($this->WORKING_ROLE, true).']</pre>'.'<br>'.PHP_EOL; 
		#echo __METHOD__.'@'.__LINE__.'$this->WORKING_RULE<pre>['.var_export($this->WORKING_RULE, true).']</pre>'.'<br>'.PHP_EOL; 
		$authtest = false;
		
		switch(strtoupper($params["order"])){//authType
			case "ALLOW":
			case "ALLOW,DENY":
				$authtest = $this->authorizeAllowDeny($params);
				break;
			case "DENY":
			case "DENY,ALLOW":
				$authtest = $this->authorizeDenyAllow($params);
				break;
			default:
				return false;
				break;
		}
		#echo __METHOD__.'@'.__LINE__.'$authtest<pre>['.var_export($authtest, true).']</pre>'.'<br>'.PHP_EOL; 
		return $authtest;
	}
DESCRIPTOR: authorize
https://httpd.apache.org/docs/current/mod/mod_access_compat.html#order
Allow,Deny
First, all Allow directives are evaluated; at least one must match,
or the request is rejected. Next, all Deny directives are evaluated.
If any matches, the request is rejected. Last, any requests which do
not match an Allow or a Deny directive are denied by default.

Deny,Allow
First, all Deny directives are evaluated; if any match, the request is
denied unless it also matches an Allow directive. Any requests which do
not match any Allow or Deny directives are permitted.

@params array
@return this->serviceResponse