summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7cd8e10)
raw | patch | inline | side by side (parent: 7cd8e10)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Dec 2006 07:29:43 +0000 (07:29 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Dec 2006 07:29:43 +0000 (07:29 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5296 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiHook.inc | patch | blob | history | |
plugins/admin/fai/class_faiHookEntry.inc | patch | blob | history |
index e0817a17c764570f1a435f734c24e13aa9a26b18..926ce5ddaca39699bad3aa88c7acaeb1044f15b5 100644 (file)
foreach($this->getList(true) as $key => $name){
$dn= $this->acl_base_for_current_object($name['dn']);
- $acl = $this->ui->get_permissions($dn,"fai/faiScriptEntry") ;
+ $acl = $this->ui->get_permissions($dn,"fai/faiHookEntry") ;
$act = "";
/* Check if this object is freezed, in this case hide the delete icon */
}
/* Check if we are allowed to use the export button for this object */
- $s_acl = $this->ui->get_permissions($dn,"fai/faiScriptEntry","FAIscript") ;
+ $s_acl = $this->ui->get_permissions($dn,"fai/faiHookEntry","FAIscript") ;
if(($this->SubObjects[$key]['status'] == "new") || ($this->SubObjects[$key]['dn'] == "new") || !preg_match("/r/",$s_acl)){
$down = "";
}else{
}
/* Check if we are allowed to view the object */
- $s_acl = $this->ui->get_permissions($dn,"fai/faiScriptEntry","cn") ;
+ $s_acl = $this->ui->get_permissions($dn,"fai/faiHookEntry","cn") ;
if(preg_match("/r/",$s_acl)){
$divlist->AddEntry(array( array("string"=>$name['name']),
array("string"=>$down , "attach" => "style='width:20px;'"),
$tmp = $this->plInfo();
$c_dn = $this->acl_base_for_current_object($this->dn);
- $smarty->assign("sub_object_is_addable", preg_match("/c/",$this->ui->get_permissions($c_dn,"fai/faiScriptEntry")) && $this->FAIstate!="freeze");
+ $smarty->assign("sub_object_is_addable", preg_match("/c/",$this->ui->get_permissions($c_dn,"fai/faiHookEntry")) && $this->FAIstate!="freeze");
foreach($tmp['plProvidedAcls'] as $name => $translation){
$smarty->assign($name."ACL",$this->getacl($name));
}
index 9a9450c77c9731b6a6fe035623e8af53e795b807..994f7912630635582acd7c7ffa82f1017dd0867a 100644 (file)
"savelog", "softupdate", "sysinfo","updatebase");
var $dn = "";
var $cn = "";
- var $FAItask = "";
+ var $FAItask = "chboot";
var $FAIscript = "";
var $description = "";
var $status = "new";