Loading...
 
Skip to main content

Manage Translations & Translate Page Links show when lacking permissions

Status
Open
Subject
Manage Translations & Translate Page Links show when lacking permissions
Version
12.x
Category
  • Usability
  • Less than 30-minutes fix
Feature
Wiki (page view, edit, history, rename, etc)
Resolution status
New
Submitted by
drsassafras
Lastmod by
drsassafras
Rating
(0)
Description

On a wiki page, the "translate" and "manage translation" links under the little globe appear if 1. The person has permission to edit that page, but at the same time have no permissions to create new pages or edit other pages.

The links do not appear if the person does not have write access to the wiki page.


What should happen:

The "translate" and "manage translations" buttons should only appear if the user has permissions to create a translation, rather than edit the specific page they are on.

The issue I have come across is that the nav buttons are appearing when the page can not be edited, but the opposite problem is also likely (although I have not tested it) that a translation could be desired, on a page thats write permissions have been suspended.

This issue has also caused several translation & error pages to become crawled by bots and indexed in search engines. I will be proposing some new robots.txt rules to help prevent this in another ticket (to keep it all together with other suggestions)

Hope this is of interest for someone to tackle.

Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5205
Created
Monday 28 April, 2014 05:00:04 UTC
by drsassafras
LastModif
Monday 28 April, 2014 05:00:04 UTC


Show PHP error messages