public function getAllowedActionsByRoleId($roleId)
{
if (!empty($this->allowedActions['role'][$roleId])) {
return $this->allowedActions['role'][$roleId];
}
$this->allowedActions['role'][$roleId] = $this->AclPermission->getAllowedActionsByRoleId($roleId);
return $this->allowedActions['role'][$roleId];
}