From: Bernard S. <bs...@sh...> - 2015-10-09 05:23:19
|
+1 for the fix (hope it fix similar issue in tikishop). > On 8 Oct 2015, at 21:55 , luciash d' being <lu...@ti...> wrote: > > +1 jonny! I already struggled with that while limiting permissions > through categories and thought if we should have tiki_p_list but this > solution seems good too! > Simmilarily, shouldn't this be applied onto blog lists, forums, > articles, etc. ? > > luci > > > On 10/08/2015 06:00 PM, jon...@us... wrote: >> Revision: 56444 >> http://sourceforge.net/p/tikiwiki/code/56444 >> Author: jonnybradley >> Date: 2015-10-08 16:00:15 +0000 (Thu, 08 Oct 2015) >> Log Message: >> ----------- >> [FIX] wiki: Remove the check for global tiki_p_view in list pages, as the list is filtered for permissions properly in \TikiLib::list_pages >> This prevents errors from the search module when global view permission is disabled and allows users to list the pages they are allowed to see (thanks marclaporte) >> >> Modified Paths: >> -------------- >> branches/14.x/tiki-listpages.php >> >> Modified: branches/14.x/tiki-listpages.php >> =================================================================== >> --- branches/14.x/tiki-listpages.php 2015-10-08 13:16:30 UTC (rev 56443) >> +++ branches/14.x/tiki-listpages.php 2015-10-08 16:00:15 UTC (rev 56444) >> @@ -71,7 +71,7 @@ >> $smarty->assign('all_langs', $all_langs); >> >> $access->check_feature(array('feature_wiki', 'feature_listPages')); >> -$access->check_permission('tiki_p_view'); >> + >> /* mass-remove: >> the checkboxes are sent as the array $_REQUEST["checked[]"], values are the wiki-PageNames, >> e.g. $_REQUEST["checked"][3]="HomePage" >> >> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Tikiwiki-cvs mailing list >> Tik...@li... >> https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs > > > ------------------------------------------------------------------------------ > _______________________________________________ > Tikiwiki-cvs mailing list > Tik...@li... > https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs |