diff options
| author | Christian Fowler <spider@viovio.com> | 2008-10-20 21:40:11 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2008-10-20 21:40:11 +0000 |
| commit | faf5a5b9a775d3908d5aed36d51d841b079cef8e (patch) | |
| tree | fe7331ad6584e086bf378c8d3769ce9e9095e105 /edit_pigeonholes.php | |
| parent | 6b3126d694a6207a6e1dd8e489fef09556bc2256 (diff) | |
| download | pigeonholes-faf5a5b9a775d3908d5aed36d51d841b079cef8e.tar.gz pigeonholes-faf5a5b9a775d3908d5aed36d51d841b079cef8e.tar.bz2 pigeonholes-faf5a5b9a775d3908d5aed36d51d841b079cef8e.zip | |
BIG CHANGE: migrate p_*_edit permissions to p_*_update permission naming convention, hasEditPermission is now hasUpdatePermission, many explicit perm checks have been cleaned up to hasUpdatePermission
Diffstat (limited to 'edit_pigeonholes.php')
| -rw-r--r-- | edit_pigeonholes.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/edit_pigeonholes.php b/edit_pigeonholes.php index 92232e5..f711652 100644 --- a/edit_pigeonholes.php +++ b/edit_pigeonholes.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_pigeonholes/edit_pigeonholes.php,v 1.32 2008/06/25 22:21:17 spiderr Exp $ + * $Header: /cvsroot/bitweaver/_bit_pigeonholes/edit_pigeonholes.php,v 1.33 2008/10/20 21:40:11 spiderr 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: edit_pigeonholes.php,v 1.32 2008/06/25 22:21:17 spiderr Exp $ + * $Id: edit_pigeonholes.php,v 1.33 2008/10/20 21:40:11 spiderr Exp $ * @package pigeonholes * @subpackage functions */ @@ -19,14 +19,14 @@ require_once( '../bit_setup_inc.php' ); $gBitSystem->verifyPackage( 'pigeonholes' ); -$gBitSystem->verifyPermission( 'p_pigeonholes_edit' ); +$gBitSystem->verifyPermission( 'p_pigeonholes_create' ); include_once( LIBERTY_PKG_PATH.'LibertyStructure.php' ); include_once( PIGEONHOLES_PKG_PATH.'lookup_pigeonholes_inc.php' ); // include edit structure file only when structure_id is known if( !empty( $_REQUEST["structure_id"] ) && ( empty( $_REQUEST['action'] ) || $_REQUEST['action'] != 'remove' ) ) { - $verifyStructurePermission = 'p_pigeonholes_edit'; + $verifyStructurePermission = 'p_pigeonholes_create'; $noAjaxContent = TRUE; include_once( LIBERTY_PKG_PATH.'edit_structure_inc.php' ); |
