diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-01-01 16:20:46 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-01-01 16:20:46 +0000 |
| commit | 8e6089cccc871427f64f0e17c69cafccded63671 (patch) | |
| tree | e3deef895746d63100098e984ae4e560e24c018e /upload.php | |
| parent | dbeb76b093aa1fb63313ab3d76e883599ea938f0 (diff) | |
| download | fisheye-8e6089cccc871427f64f0e17c69cafccded63671.tar.gz fisheye-8e6089cccc871427f64f0e17c69cafccded63671.tar.bz2 fisheye-8e6089cccc871427f64f0e17c69cafccded63671.zip | |
use gallery admin permission instead of edit permission to allow full access to fishey galleries
Diffstat (limited to 'upload.php')
| -rw-r--r-- | upload.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_fisheye/upload.php,v 1.28 2006/12/27 18:27:00 squareing Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_fisheye/upload.php,v 1.29 2007/01/01 16:20:46 squareing Exp $ * @package fisheye * @subpackage functions */ @@ -95,7 +95,7 @@ $listHash = array( 'show_empty' => TRUE, ); // modify listHash according to global preferences -if( $gBitSystem->isFeatureActive( 'fisheye_show_all_to_editors' ) && $gBitUser->hasPermission( 'p_fisheye_edit' ) ) { +if( $gBitSystem->isFeatureActive( 'fisheye_show_all_to_admins' ) && $gBitUser->hasPermission( 'p_fisheye_admin' ) ) { unset( $listHash['user_id'] ); } elseif( $gBitSystem->isFeatureActive( 'fisheye_show_public_on_upload' ) ) { $listHash['show_public'] = TRUE; |
