|
From: Benjamin C. <bc...@us...> - 2001-09-18 03:26:19
|
Update of /cvsroot/phpbt/phpbt/admin
In directory usw-pr-cvs1:/tmp/cvs-serv18210
Modified Files:
os.php project.php resolution.php severity.php status.php
user.php
Log Message:
Correct the perm checks for administrators
Index: os.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/os.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- os.php 2001/09/03 17:20:16 1.12
+++ os.php 2001/09/18 03:26:15 1.13
@@ -114,7 +114,7 @@
$t->set_file('wrap','wrap.html');
-$perm->check('Administrator');
+$perm->check('Admin');
if ($op) switch($op) {
case 'add' : list_items(); break;
Index: project.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/project.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- project.php 2001/09/11 12:58:46 1.17
+++ project.php 2001/09/18 03:26:15 1.18
@@ -312,7 +312,7 @@
$t->set_file('wrap','wrap.html');
-$perm->check('Administrator');
+$perm->check('Admin');
if (isset($_gv['op'])) {
switch($_gv['op']) {
Index: resolution.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/resolution.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- resolution.php 2001/09/03 17:20:16 1.13
+++ resolution.php 2001/09/18 03:26:15 1.14
@@ -116,7 +116,7 @@
$t->set_file('wrap','wrap.html');
-$perm->check('Administrator');
+$perm->check('Admin');
if ($op) switch($op) {
case 'add' : list_items(); break;
Index: severity.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/severity.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- severity.php 2001/09/03 20:34:53 1.7
+++ severity.php 2001/09/18 03:26:15 1.8
@@ -121,7 +121,7 @@
$t->set_file('wrap','wrap.html');
-$perm->check('Administrator');
+$perm->check('Admin');
if ($op) switch($op) {
case 'add' : list_items(); break;
Index: status.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/status.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- status.php 2001/09/03 17:20:16 1.13
+++ status.php 2001/09/18 03:26:15 1.14
@@ -115,7 +115,7 @@
$t->set_file('wrap','wrap.html');
-$perm->check('Administrator');
+$perm->check('Admin');
if ($op) switch($op) {
case 'add' : list_items(); break;
Index: user.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/user.php,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- user.php 2001/09/14 16:48:13 1.26
+++ user.php 2001/09/18 03:26:15 1.27
@@ -221,7 +221,7 @@
$t->set_file('wrap','wrap.html');
-$perm->check('Administrator');
+$perm->check('Admin');
if ($op) switch($op) {
case 'add' : list_items(); break;
|