Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#3271 closed defect (worksforme)

Cannot delete an attachement with WIKI_DELETE and WIKI_ADMIN permissions

Reported by: brooklyn.waters@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.9.4
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Users with WIKI_DELETE and WIKI_ADMIN permissions cannot necessarily delete attachments.

I followed these instructions:

"To do this, login as the privileged user, click on the attachment. The attachment page will now have a "Delete Attachment" button you can use to delete the attachment. Note that is an irreversible operation."

On the wiki page I now had a two buttons allowing me to delete the page or delete this version.

When I clicked on the attachment There was no delete button.

The attachment itself is a SQL script and its text appears on the attachement page, complete with line numbers but there is no delete button at all.

I have verified that the user has both WIKI_DELETE and WIKI_ADMIN permissions.

Attachments (0)

Change History (3)

comment:1 by anonymous, 18 years ago

Further experiments have shown that this problem occurs with Firefox browser but not IE and only with text based files. I can easily delete a word attachement but not a .txt or .sql attachement in Firefox.

comment:2 by anonymous, 18 years ago

I have had problems deleting attachments too.

I found that attachments uploaded before I gave myself WIKI_DELETE permissions don't show the delete button (however pages do show a delete button).

The workaround is to re-upload the attachment after giving yourself WIKI_DELETE permission. Then view the attachment and a delete button will now be presented to you.

I am using trac 0.9.5.

comment:3 by Christian Boos, 18 years ago

Resolution: worksforme
Status: newclosed

I believe this should work. If someone runs into this problem again with 0.10.x or later, please reopen.

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'.
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.