diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-04-11 17:52:11 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-04-11 17:52:11 +0000 |
| commit | 32548ef988dd7477f622c12cb7d3811fcb5575e0 (patch) | |
| tree | 15d66fdd039edf70976aa279619e3b6249d573c4 | |
| parent | 94619f4a967b8d8b57bcf59738b8b811771b7b9c (diff) | |
| download | users-32548ef988dd7477f622c12cb7d3811fcb5575e0.tar.gz users-32548ef988dd7477f622c12cb7d3811fcb5575e0.tar.bz2 users-32548ef988dd7477f622c12cb7d3811fcb5575e0.zip | |
more permissions housekeeping and tidyup
| -rw-r--r-- | assigned_modules.php | 6 | ||||
| -rw-r--r-- | my_images.php | 6 | ||||
| -rw-r--r-- | theme.php | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/assigned_modules.php b/assigned_modules.php index d4835a1..f178e74 100644 --- a/assigned_modules.php +++ b/assigned_modules.php @@ -3,13 +3,13 @@ * assigned_modules * * @author spider <spider@steelsun.com> - * @version $Revision: 1.7 $ + * @version $Revision: 1.8 $ * @package users * @subpackage functions * @copyright Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al. * @license Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. */ -// $Header: /cvsroot/bitweaver/_bit_users/assigned_modules.php,v 1.7 2006/04/11 13:10:18 squareing Exp $ +// $Header: /cvsroot/bitweaver/_bit_users/assigned_modules.php,v 1.8 2006/04/11 17:52:11 squareing Exp $ // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Initialization @@ -37,7 +37,7 @@ if (!$gBitUser->isRegistered()) { include_once(USERS_PKG_PATH.'lookup_user_inc.php'); -if ($gQueryUser->mUserId != $gBitUser->mUserId && !$gBitUser->object_has_permission($gBitUser->mUserId, $gQueryUser->mInfo['content_id'], 'bituser', 'bit_p_admin_user')) { +if ($gQueryUser->mUserId != $gBitUser->mUserId && !$gBitUser->object_has_permission($gBitUser->mUserId, $gQueryUser->mInfo['content_id'], 'bituser', 'p_users_admin')) { $gBitSmarty->assign('msg', tra('You do not have permission to edit this user\'s theme')); $gBitSystem->display('error.tpl'); die; diff --git a/my_images.php b/my_images.php index 94ce274..c7dbb99 100644 --- a/my_images.php +++ b/my_images.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_users/my_images.php,v 1.8 2006/02/13 10:06:24 squareing Exp $ + * $Header: /cvsroot/bitweaver/_bit_users/my_images.php,v 1.9 2006/04/11 17:52:11 squareing Exp $ * * Copyright (c) 2004 bitweaver.org * Copyright (c) 2003 tikwiki.org @@ -8,7 +8,7 @@ * 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 * - * $Id: my_images.php,v 1.8 2006/02/13 10:06:24 squareing Exp $ + * $Id: my_images.php,v 1.9 2006/04/11 17:52:11 squareing Exp $ * @package users * @subpackage functions */ @@ -35,7 +35,7 @@ if (!isset($_REQUEST["showall"])) { include_once(USERS_PKG_PATH.'lookup_user_inc.php'); -if ($gQueryUser->mUserId != $gBitUser->mUserId && !$gBitUser->object_has_permission($gBitUser->mUserId, $gQueryUser->mInfo['content_id'], 'bituser', 'bit_p_admin_user')) { +if ($gQueryUser->mUserId != $gBitUser->mUserId && !$gBitUser->object_has_permission($gBitUser->mUserId, $gQueryUser->mInfo['content_id'], 'bituser', 'p_users_admin')) { $gBitSmarty->assign('msg', tra('You do not have permission to edit this user\'s images')); $gBitSystem->display('error.tpl'); die; @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_users/theme.php,v 1.7 2006/02/08 21:51:15 squareing Exp $ + * $Header: /cvsroot/bitweaver/_bit_users/theme.php,v 1.8 2006/04/11 17:52:11 squareing Exp $ * * Copyright (c) 2004 bitweaver.org * Copyright (c) 2003 tikwiki.org @@ -8,7 +8,7 @@ * 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 * - * $Id: theme.php,v 1.7 2006/02/08 21:51:15 squareing Exp $ + * $Id: theme.php,v 1.8 2006/04/11 17:52:11 squareing Exp $ * @package users * @subpackage functions */ @@ -33,7 +33,7 @@ if (!$gBitUser->isRegistered()) { include_once(USERS_PKG_PATH.'lookup_user_inc.php'); -if ($gQueryUser->mUserId != $gBitUser->mUserId && !$gBitUser->object_has_permission($gBitUser->mUserId, $gQueryUser->mInfo['content_id'], 'bituser', 'bit_p_admin_user')) { +if ($gQueryUser->mUserId != $gBitUser->mUserId && !$gBitUser->object_has_permission($gBitUser->mUserId, $gQueryUser->mInfo['content_id'], 'bituser', 'p_users_admin')) { $gBitSmarty->assign('msg', tra('You do not have permission to edit this user\'s theme')); $gBitSystem->display('error.tpl'); die; |
