steffen: server/kolab-webadmin/kolab-webadmin/www/admin/maintainer index.php, 1.4, 1.5 maintainer.php, 1.8, 1.9
cvs at intevation.de
cvs at intevation.de
Mon Sep 20 13:54:10 CEST 2004
Author: steffen
Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin/www/admin/maintainer
In directory doto:/tmp/cvs-serv24814/kolab-webadmin/www/admin/maintainer
Modified Files:
index.php maintainer.php
Log Message:
fix for Issue396
Index: index.php
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/www/admin/maintainer/index.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- index.php 20 Aug 2004 02:10:00 -0000 1.4
+++ index.php 20 Sep 2004 11:54:08 -0000 1.5
@@ -1,6 +1,6 @@
<?php
/*
- (c) 2004 KlarÃ��¤lvdalens Datakonsult AB
+ (c) 2004 KlarÃ��¿½ï¿½Ã¤lvdalens Datakonsult AB
This program is Free Software under the GNU General Public License (>=v2).
Read the file COPYING that comes with this packages for details.
@@ -15,7 +15,7 @@
/**** Authentication etc. ***/
$sidx = 'maintainer';
-if( $auth->group() != 'admin') {
+if( $auth->group() != 'admin' ) {
array_push($errors, _("Error: You don't have Permissions to access this Menu"));
}
Index: maintainer.php
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/www/admin/maintainer/maintainer.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- maintainer.php 20 Aug 2004 02:10:00 -0000 1.8
+++ maintainer.php 20 Sep 2004 11:54:08 -0000 1.9
@@ -1,6 +1,6 @@
<?php
/*
- * Copyright (c) 2004 KlarÃ��¿½ï¿½Ã¤lvdalens Datakonsult AB
+ * Copyright (c) 2004 KlarÃ��¿½ï¿½Ã¿Ã½Ã¯Ã¿Ã½Ã��¤lvdalens Datakonsult AB
*
* Written by Steffen Hansen <steffen at klaralvdalens-datakonsult.se>
*
@@ -138,7 +138,7 @@
if (!empty($_REQUEST['dn'])) $dn = trim(urldecode($_REQUEST['dn']));
// Check auth
-if (!$errors && $auth->group() != "admin" ) {
+if (!$errors && $auth->group() != 'admin' && $auth->group() != 'maintainer' ) {
array_push($errors, _("Error: You don't have the required Permissions"));
}
More information about the commits
mailing list