File Gallery Navivaion appears when permissions no not allow
- Status
- Open
- Subject
- File Gallery Navivaion appears when permissions no not allow
- Category
- Usability
- Less than 30-minutes fix
- Feature
- File Gallery (elFinder or standard UI)
- Resolution status
- New
- Submitted by
- drsassafras
- Lastmod by
- drsassafras
- Rating
- Description
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.
- Priority
- 25
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 5206
- Created
- Monday 28 April, 2014 05:46:06 UTC
by drsassafras - LastModif
- Monday 28 April, 2014 05:46:06 UTC