Modify

Opened 7 years ago

Closed 7 years ago

#13287 closed enhancement (duplicate)

Enhancement to allow deletion of an accreditation record if user has permission ACCREDITATION_DELETE

Reported by: Richard Lyders Owned by: Cauly
Priority: normal Component: AccreditationPlugin
Severity: normal Keywords:
Cc: Richard@… Trac Release: 1.2

Description

The accreditation plugin is proving very useful for us. Thanks for your good work!

Hoping you find this useful, I've attached an updated version of the accreditation plugin code to support the deletion of an accreditation record.

Changes:

  • ACCREDITATION_DELETE: new permission that controls who can delete an accreditation record
  • deleted_comment_label: new configuration label prefixed to the ticket * comment recorded for each deletion of an accreditation
  • /accreditation/delete: new request path for the deletion of an accreditation
  • input hidden delete-author: populated with the author record to be deleted for a accreditation topic

Attachments (1)

Accreditation.py (13.0 KB) - added by Richard Lyders 7 years ago.
Enhancements to Accreditation.py to allow the deletion of an existing accreditation record based on user permission ACCREDITATION_DELETE

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by Richard Lyders

Attachment: Accreditation.py added

Enhancements to Accreditation.py to allow the deletion of an existing accreditation record based on user permission ACCREDITATION_DELETE

comment:1 Changed 7 years ago by Richard Lyders

Resolution: duplicate
Status: newclosed

This enhancement can be closed as a duplicate of enhancement #13289 considering I've attached a complete unified patch to #13289 with this and all other changes I've implemented.

Complete patch attached with all changes to date ... (the attachment description erroneously calls it a "complete path".

Thanks again for this plugin. We are getting some good use out of it.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Cauly.
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.