From: <mo...@us...> - 2006-12-26 16:42:35
|
Update of /cvsroot/tikiwiki/tiki In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv10202 Modified Files: Tag: BRANCH-1-9 tiki-file_gallery_rss.php Log Message: [FIX] filegal: made rss respect filegal perms Index: tiki-file_gallery_rss.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/tiki-file_gallery_rss.php,v retrieving revision 1.22.2.5 retrieving revision 1.22.2.6 diff -u -d -r1.22.2.5 -r1.22.2.6 --- tiki-file_gallery_rss.php 18 Sep 2006 22:43:30 -0000 1.22.2.5 +++ tiki-file_gallery_rss.php 26 Dec 2006 16:42:19 -0000 1.22.2.6 @@ -14,7 +14,7 @@ require_once ('tiki-rss_error.php'); } -if ($tiki_p_view_file_gallery != 'y') { +if ($tiki_p_view_file_gallery != 'y' or !$tikilib->user_has_perm_on_object($user,$_REQUEST['galleryId'],'image gallery','tiki_p_view_image_gallery')) { $errmsg=tra("Permission denied you cannot view this section"); require_once ('tiki-rss_error.php'); } |