28 public function storeAccessResult($a_permission, $a_cmd, $a_ref_id, $a_access_granted, $a_user_id = null, $a_info =
"");
94 public function checkAccess($a_permission, $a_cmd, $a_ref_id,
$a_type =
"", $a_obj_id = null, $a_tree_id = null);
110 public function checkAccessOfUser($a_user_id, $a_permission, $a_cmd, $a_ref_id,
$a_type =
"", $a_obj_id = null, $a_tree_id = null);
138 public function doCacheCheck($a_permission, $a_cmd, $a_ref_id, $a_user_id);
151 public function doTreeCheck($a_permission, $a_cmd, $a_ref_id, $a_user_id);
180 public function doPathCheck($a_permission, $a_cmd, $a_ref_id, $a_user_id, $a_all =
false);
194 public function doActivationCheck($a_permission, $a_cmd, $a_ref_id, $a_user_id, $a_all =
false);
224 public function doStatusCheck($a_permission, $a_cmd, $a_ref_id, $a_user_id, $a_obj_id,
$a_type);
247 public function clear();
254 public function enable($a_str, $a_bool);
checkAccessOfUser($a_user_id, $a_permission, $a_cmd, $a_ref_id, $a_type="", $a_obj_id=null, $a_tree_id=null)
check access for an object (provide $a_type and $a_obj_id if available for better performance) ...
Interface ilRBACAccessHandler.
doCacheCheck($a_permission, $a_cmd, $a_ref_id, $a_user_id)
look if result for current query is already in cache
getResultAll($a_ref_id="")
doTreeCheck($a_permission, $a_cmd, $a_ref_id, $a_user_id)
check if object is in tree and not deleted
checkAccess($a_permission, $a_cmd, $a_ref_id, $a_type="", $a_obj_id=null, $a_tree_id=null)
check access for an object (provide $a_type and $a_obj_id if available for better performance) ...
storeAccessResult($a_permission, $a_cmd, $a_ref_id, $a_access_granted, $a_user_id=null, $a_info="")
store access result
getPreventCachingLastResult()
Get prevent caching last result.
getResultLast()
get last info object
addInfoItem($a_type, $a_text, $a_data="")
add an info item to current info object
doLicenseCheck($a_permission, $a_cmd, $a_ref_id, $a_user_id, $a_obj_id, $a_type)
check for available licenses
doStatusCheck($a_permission, $a_cmd, $a_ref_id, $a_user_id, $a_obj_id, $a_type)
object type specific check
doConditionCheck($a_permission, $a_cmd, $a_ref_id, $a_user_id, $a_obj_id, $a_type)
condition check (currently only implemented for read permission)
getInfo()
get last info object
setPreventCachingLastResult($a_val)
Set prevent caching last result.
doPathCheck($a_permission, $a_cmd, $a_ref_id, $a_user_id, $a_all=false)
check read permission for all parents
doRBACCheck($a_permission, $a_cmd, $a_ref_id, $a_user_id, $a_type)
rbac check for current object -> type should be used for create permission
getStoredAccessResult($a_permission, $a_cmd, $a_ref_id, $a_user_id="")
get stored access result
doActivationCheck($a_permission, $a_cmd, $a_ref_id, $a_user_id, $a_all=false)
check for course activation