summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f013f7e)
raw | patch | inline | side by side (parent: f013f7e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 26 May 2008 09:02:57 +0000 (09:02 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 26 May 2008 09:02:57 +0000 (09:02 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10997 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/users/class_divListUsers.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/users/class_divListUsers.inc b/gosa-core/plugins/admin/users/class_divListUsers.inc
index 22cae8fc760bf1f2fa17416f63373e133848636f..ce80e80d3aa5b75e30e93bf96dced1ec23d64645 100644 (file)
/* Add copy & cut icons */
$acl_all = $ui->has_complete_category_acls($this->selectedBase,"users") ;
$acl = $ui->get_permissions($val['dn'],"users/user");
- if(preg_match("/(c.*w|w.*c)/",$acl_all) && $this->parent->CopyPasteHandler){
+ if(preg_match("/(r.*w|w.*r)/",$acl) && $this->parent->CopyPasteHandler){
$action .= "<input class='center' type='image'
src='images/lists/cut.png' alt='"._("cut")."' name='cut_%KEY%' title='"._("Cut this entry")."'> ";
$action.= "<input class='center' type='image'
name='user_edit_%KEY%' title='".msgPool::editButton(_("user"))."'>";
/* Add deactivate status if we are allowed to */
- if (preg_match("/w/",$acl_all)){
+ if (preg_match("/w/",$acl)){
$action.= $lock_status;
}
}
/* Add snapshot icon */
- if(preg_match("/(c.*w|w.*c)/",$acl_all)){
+ if(preg_match("/(r.*w|w.*r)/",$acl)){
$action.= $this->GetSnapShotActions($val['dn']);
}