Edgewall Software
Modify

Opened 7 years ago

Closed 7 years ago

Last modified 5 years 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.

Description

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, 7 years ago

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

comment:2 by Ryan J Ollos, 7 years ago

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

comment:3 by Ryan J Ollos, 7 years ago

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

Committed to trunk in r16382.

comment:4 by Ryan J Ollos, 5 years ago

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

Behavior was changed in #13093.

Modify Ticket

Change Properties
Set your email in Preferences
Action
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.