Modify ↓
      
Opened 19 years ago
Closed 19 years ago
#3252 closed defect (wontfix)
On templates/attachment.cs, missing <?cs if:trac.acl.TICKET_ADMIN ?>
| Reported by: | 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: | |||
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 , 19 years ago
| Milestone: | 0.10 | 
|---|---|
| Resolution: | → wontfix | 
| Status: | new → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    


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