Edgewall Software

Opened 3 years ago

Closed 3 years ago

Last modified 3 months ago

#12947 closed enhancement (fixed)

Fine-grained control of TICKET_EDIT_CC for new tickets

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 1.3.3
Component: ticket system Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

The behavior user can edit CC field for new ticket without possessing TICKET_EDIT_CC is implemented in DefaultTicketPolicy. This allows the behavior to be modified by replacing DefaultTicketPolicy. In #13093, the behavior was changed to prevent a user without TICKET_EDIT_CC from editing CC of a new ticket.


Users can edit the CC field when creating a ticket even if they don't have TICKET_EDIT_CC. In some instances it would be nice to have fine-grained control of this behavior. As in #8778 and #12719, it might be possible to move the access control to the permission policy, so that users can customize the behavior by replacing DefaultTicketPolicy.

Attachments (0)

Change History (4)

comment:1 by Ryan J Ollos, 3 years ago

Proposed change: [e6f2bdb1d/rjollos.git]. I'll look at adding test coverage.

comment:2 by Ryan J Ollos, 3 years ago

Added test coverage and fixed defect in proposed change: [926d0a1d9/rjollos.git].

comment:3 by Ryan J Ollos, 3 years ago

Release Notes: modified (diff)
Resolution: fixed
Status: assignedclosed

Committed to trunk in r16382.

comment:4 by Ryan J Ollos, 3 months ago

Internal Changes: modified (diff)
Release Notes: modified (diff)

Behavior was changed in #13093.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Ryan J Ollos 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.