diff options
author | Emmanuel Lacour <elacour@easter-eggs.com> | 2022-05-10 11:54:00 +0300 |
---|---|---|
committer | sunnavy <sunnavy@bestpractical.com> | 2022-07-30 00:10:36 +0300 |
commit | 630b60de3636500c1fb4cbc62245be2ac5a03b78 (patch) | |
tree | c018b8aa1db5ce7957623d83bb9986f5a7f18034 /lib | |
parent | 6eb2e78475abb0179f2a8f3b17e849f3bfb02c01 (diff) |
Do not check acl when auto-setting core date fields
When using custom rights in lifecycles, a user with only a right such as
"CloseTicket" should trigger the update of "Resolved" field without
"ModifyTicket" right.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/RT/Ticket.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/RT/Ticket.pm b/lib/RT/Ticket.pm index 10508031a6..d63881f79e 100644 --- a/lib/RT/Ticket.pm +++ b/lib/RT/Ticket.pm @@ -2511,7 +2511,8 @@ sub _SetStatus { $self->_Set( Field => 'Started', Value => $now->ISO, - RecordTransaction => 0 + RecordTransaction => 0, + CheckACL => 0, ); } @@ -2522,6 +2523,7 @@ sub _SetStatus { Field => 'Resolved', Value => $now->ISO, RecordTransaction => 0, + CheckACL => 0, ); } |