znuny / Znuny

Znuny/Znuny LTS is a fork of the ((OTRS)) Community Edition, one of the most flexible web-based ticketing systems used for Customer Service, Help Desk, IT Service Management.
https://www.znuny.org
GNU General Public License v3.0
355 stars 85 forks source link

Message template disables ACL on process activity windows #332

Closed lis975 closed 1 year ago

lis975 commented 1 year ago

Environment

Expected behaviour

Setting Message template on activity window in Process ticket do not affect ACL on other components

Actual behaviour

I have an Queue component on process ticket on top of some activity window, which is restricted only to few queues for customer/agent selection. On the same window I also have a Message component, which has one template attached.

In effect if there is any restricted by ACL dropdown list below Message, that isn't set before choosing a template, after the template is set the list is not restricted by ACL anymore.

How to reproduce

If user chooses:

  1. first queue, next message template - everything works fine.
  2. If user chooses: first message template, the queue component isn't anymore restricted by ACL, the default "Raw" queue is automatically set. The problem is that not only message component is cleared after setting message template, but the entire activity window.

Additional information

Screenshots

KaiHerlemann commented 1 year ago

I guess that you are filtering by ActivityEntityID and ProcessEntityID in your ACL. Is that correct? In this case the problem is already solved. The change will be included in the next release. See also issue #316, this issue concerns the same problem.

lis975 commented 1 year ago

Yes, you’ve right. Thank you very much for your explanation nad assistance!

Daniel Lisiecki