diff options
| author | Christian Fowler <spider@viovio.com> | 2006-06-24 19:25:42 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2006-06-24 19:25:42 +0000 |
| commit | 74757bdc92b90d9d26a9d71d9285482535a2c89e (patch) | |
| tree | 6b4a74c23a8701001eb8929c617f22e422562360 /admin | |
| parent | 8e077fa82ba3d7a51579909c9aae2a1c73197a83 (diff) | |
| download | users-74757bdc92b90d9d26a9d71d9285482535a2c89e.tar.gz users-74757bdc92b90d9d26a9d71d9285482535a2c89e.tar.bz2 users-74757bdc92b90d9d26a9d71d9285482535a2c89e.zip | |
use p_users_admin for perm checking
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/assign_user.php | 4 | ||||
| -rw-r--r-- | admin/edit_group.php | 4 | ||||
| -rw-r--r-- | admin/unassigned_perms.php | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/admin/assign_user.php b/admin/assign_user.php index 128bb82..7988921 100644 --- a/admin/assign_user.php +++ b/admin/assign_user.php @@ -1,5 +1,5 @@ <?php -// $Header: /cvsroot/bitweaver/_bit_users/admin/assign_user.php,v 1.5 2006/04/11 13:10:19 squareing Exp $ +// $Header: /cvsroot/bitweaver/_bit_users/admin/assign_user.php,v 1.6 2006/06/24 19:25:42 spiderr Exp $ // Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al. // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. @@ -8,7 +8,7 @@ // Initialization require_once( '../../bit_setup_inc.php' ); -$gBitSystem->verifyPermission( 'p_admin' ); +$gBitSystem->verifyPermission( 'p_users_admin' ); if (!$gBitUser->userExists( array( 'user_id' => $_REQUEST["assign_user"] ) ) ) { $gBitSystem->fatalError( "User doesnt exist" ); diff --git a/admin/edit_group.php b/admin/edit_group.php index 0efd756..e33fc14 100644 --- a/admin/edit_group.php +++ b/admin/edit_group.php @@ -1,5 +1,5 @@ <?php -// $Header: /cvsroot/bitweaver/_bit_users/admin/edit_group.php,v 1.19 2006/04/12 14:10:21 sylvieg Exp $ +// $Header: /cvsroot/bitweaver/_bit_users/admin/edit_group.php,v 1.20 2006/06/24 19:25:42 spiderr Exp $ // Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al. // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. @@ -7,7 +7,7 @@ require_once( '../../bit_setup_inc.php' ); // PERMISSIONS: NEEDS admin -$gBitSystem->verifyPermission( 'p_admin' ); +$gBitSystem->verifyPermission( 'p_users_admin' ); $successMsg = NULL; $errorMsg = NULL; diff --git a/admin/unassigned_perms.php b/admin/unassigned_perms.php index ce33340..da799f6 100644 --- a/admin/unassigned_perms.php +++ b/admin/unassigned_perms.php @@ -1,9 +1,9 @@ <?php -// $Header: /cvsroot/bitweaver/_bit_users/admin/Attic/unassigned_perms.php,v 1.5 2006/04/11 13:10:19 squareing Exp $ +// $Header: /cvsroot/bitweaver/_bit_users/admin/Attic/unassigned_perms.php,v 1.6 2006/06/24 19:25:42 spiderr Exp $ // Initialization require_once( '../../bit_setup_inc.php' ); -$gBitSystem->verifyPermission( 'p_admin' ); +$gBitSystem->verifyPermission( 'p_users_admin' ); $gBitSmarty->assign_by_ref( 'feedback', $feedback = array() ); $listHash = array( 'sort_mode' => 'group_id_asc' ); |
