X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fplugins%2Fadmin%2Facl%2Ftabs_acl_role.inc;h=28be2338567e20491201b33fb37ac71e510fe6ae;hb=1d001e2b73098d61889d035b72239e2e5a69a58f;hp=b1132357d14828b93a7d2bb638e3e95c3b9adc14;hpb=7f7f21906eb6121c29823abbf96461733d642509;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 b1132357d..28be23385 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.",ou=aclroles,".$baseobject->base; + $new_dn= 'cn='.$baseobject->cn.",".get_ou('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: ?>