From 4be60460721dd636ff18bfa73b82a66a5fdec257 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 2 Nov 2006 08:59:58 +0000 Subject: [PATCH] Updated ACL && Priority git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4990 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/generic/class_user.inc | 2 +- plugins/personal/generic/main.inc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/personal/generic/class_user.inc b/plugins/personal/generic/class_user.inc index 816c3166c..345c0b79e 100644 --- a/plugins/personal/generic/class_user.inc +++ b/plugins/personal/generic/class_user.inc @@ -1311,7 +1311,7 @@ class user extends plugin "plDescription" => _("Generic user settings"), "plSelfModify" => TRUE, "plDepends" => array(), - "plPriority" => 0, + "plPriority" => 1, "plSection" => array("personal" => _("My account")), "plCategory" => array("users" => array("description" => _("Users"), "objectClass" => "gosaAccount")), diff --git a/plugins/personal/generic/main.inc b/plugins/personal/generic/main.inc index 474087f4a..48c1a225f 100644 --- a/plugins/personal/generic/main.inc +++ b/plugins/personal/generic/main.inc @@ -46,7 +46,7 @@ if (!$remove_lock){ } /* Enter edit mode? */ - if ((isset($_POST['edit'])) && (!isset( $_SESSION['edit']))){ + if ((isset($_POST['edit'])) && (!isset( $_SESSION['edit'])) &&preg_match("/w/",$ui->get_permissions($ui->dn,"users/user"))){ /* Check locking */ if (($username= get_lock($ui->dn)) != ""){ @@ -135,7 +135,7 @@ if (!$remove_lock){ /* Execute formular */ if($lock_msg){ - $display = $lock_msg; + $display.= $lock_msg; }else{ $display.= $user->execute (); } -- 2.30.2