Login!
Lost password?
 

MODx Bug/Feature Tracker and Feature Requests

Welcome to the MODx CMS Tracker. Please choose the appropriate project from the drop down menu and provide as much information as possible regarding your server environment and browser. Thanks!

FS#1029 — Duplicate Button is shown even if user is not allowed to create document

Attached to Project — MODx
Opened by Marc (MadeMyDay) - Friday, 14 March 2008, 12:05PM
Task Type Bug Report
Category Core Distribution
Status Closed
Assigned To No-one
Operating System All
Severity High
Priority Normal
Reported Version 0.9.6
Due in Version Undecided
Due Date Undecided
Percent Complete 100%

Details

Although a role doesn´t allow the user to create a document there is a button for "duplicate".

If the user rightclicks on the document in the doc tree, the duplicate option isn´t active (which is correct).

If the user edits a document, the duplicate option also is not shown (also correct).

BUT: If the user (left)clicks on a document in the doc tree, the button appears in the main frame in the top and is functional. Thsi shouldn´t be.
This task depends upon

This task blocks these from closing
Closed by  Garry Nutting (garryn)
Friday, 19 September 2008, 08:56PM
Reason for closing:  Works for me
Additional comments about closing:  Although the 'duplicate' button is shown, it will not actually duplicate the document if the role does not have the 'create new document' privilege - rather it directs to an error message explaining that the user does not have the necessary privileges.