Withing a file gallery, the "parent gallery" navigation button appears even if that user has no permissions to view the gallery it points to, of course causing an error, and allowing google to index the error.
To reproduce: set global tiki_p_view_file_gallery to allow. Create a child gallery. Set the tiki_p_view_file_gallery for the parent gallery to deny. Navigate to the child gallery. Click the "parent gallery" link. The error appears.
What it should do.
Instead of checking if the user has permissions to view the page they are navigating from, check if the user has permission to view the page they are navigating to. (in this case the parent page.) & do not display the navigation link if here is no permissions to view it.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |