X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fplugins%2Fadmin%2Facl%2Ftabs_acl_role.inc;h=faa8214da81e2bdc3d32bf05e4dd6f591f973eb0;hb=8041be8a00be8cd76843ac29ce2c6f5833871bbc;hp=3c119d164098a09553f128d1143a1f099d995dcd;hpb=c0d3a222f41c337ce2abdc0b45a1d0bac863dbee;p=gosa.git diff --git a/gosa-core/plugins/admin/acl/tabs_acl_role.inc b/gosa-core/plugins/admin/acl/tabs_acl_role.inc index 3c119d164..faa8214da 100644 --- a/gosa-core/plugins/admin/acl/tabs_acl_role.inc +++ b/gosa-core/plugins/admin/acl/tabs_acl_role.inc @@ -1,4 +1,24 @@ cn.",".get_ou('aclroleou').$baseobject->base; + $new_dn= 'cn='.$baseobject->cn.",".get_ou("aclrole", "aclRoleRDN").$baseobject->base; if ($this->dn != $new_dn){ @@ -31,10 +51,6 @@ class aclroletab extends tabs $ret= tabs::save(); - /* Fix tagging if needed */ - $baseobject->dn= $new_dn; - $baseobject->handle_object_tagging(); - return $ret; } @@ -46,16 +62,18 @@ class aclroletab extends tabs function execute() { $display= tabs::execute(); - if(!$this->by_object['aclrole']->dialog){ + if($this->read_only){ + $display.= "
\n"; - $display.= " \n"; - $display.= " \n"; - $display.= " \n"; + $display.= " \n"; + $display.= " \n"; $display.= "
"; } return($display); } - } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?>