Edgewall Software

Opened 15 years ago

Closed 15 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:
Internal Changes:


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, 15 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
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment

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