Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

#3252 closed defect (wontfix)

On templates/attachment.cs, missing <?cs if:trac.acl.TICKET_ADMIN ?>

Reported by: maxb1@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.9.5
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:

Description

templates/attachment.cs contains a checkbox "Replace existing attachment with the same name" which requires the TICKET_ADMIN privilege to use. This should use <?cs:if trac.acl.TICKET_ADMIN ?> to hide itself if the user does not have the privileges to use it.

Attachments (0)

Change History (1)

comment:1 by Matthew Good, 13 years ago

Milestone: 0.10
Resolution: wontfix
Status: newclosed

Actually, TICKET_ADMIN or WIKI_ADMIN permissions are not required for users to overwrite their own attachments, so the checkbox is valid for anyone who can attach files.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.