From 4d183ead927cd3ecd80cf8b143ec0e51b4936ca4 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 26 May 2008 09:02:57 +0000 Subject: [PATCH] Updated ACL handling for users. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10997 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/admin/users/class_divListUsers.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gosa-core/plugins/admin/users/class_divListUsers.inc b/gosa-core/plugins/admin/users/class_divListUsers.inc index 22cae8fc7..ce80e80d3 100644 --- a/gosa-core/plugins/admin/users/class_divListUsers.inc +++ b/gosa-core/plugins/admin/users/class_divListUsers.inc @@ -304,7 +304,7 @@ class divListUsers extends MultiSelectWindow /* 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 .= " "; $action.= ""; /* Add deactivate status if we are allowed to */ - if (preg_match("/w/",$acl_all)){ + if (preg_match("/w/",$acl)){ $action.= $lock_status; } @@ -345,7 +345,7 @@ class divListUsers extends MultiSelectWindow } /* 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']); } -- 2.30.2