Hello all,
I use OTRS version 3.0.5 with ITSM and FAQ module. I'am trying to limit to set ticket Type 'Problem' to some users only.
First test : In config.pm i've added theses ACL :
# $Self->{TicketAcl}->{'120-ACL-Problem-Restriction'} = {
# Properties => {
# },
# PossibleNot => {
# Ticket => {
# Type => ['Problem'],
# },
# },
# };
# $Self->{TicketAcl}->{'125-ACL-Problem-Restriction'} = {
# Properties => {
# Ticket => {
# Type => ['Problem'],
# },
# },
# Possible => {
# Ticket => {
# Type => ['Problem'],
# },
# },
# };
# $Self->{TicketAcl}->{'130-ACL-Problem-Restriction'} = {
# Properties => {
# User => {
# UserLogin => ['xxxxxx','xxxxxx'],
# },
# },
# Possible => {
# Ticket => {
# Type => ['Default', 'change', 'Incident' , 'Information', 'Problem'],
# },
# },
# };
after several tests I've conclude that at least restriction part of theses ACL (120-ACL-Problem-Restriction) does not work. But it's working fine for user that has rw access to ITSMchange group. this make me think that being in this groups activate the filtering at level ticket type
second test : search arround ITSM change
I've deactivated the ACL above and added in ITSMChange::AddChangeLinkTicketTypes the type 'Problem' then this restriction works fine but needs to give rw access to groupe ITSChanges to grant access to this group then give related privilège (add this does not permit to block change of this type of ticket like does 125-ACL-Problem-Restriction)
Last test : I've created a group for activating ticketACL for type of ticket, added all users in it (and all role) and register this group in core properties : ITSMChange::RestrictTicketTypes::Groups then all ACL works fine !
here's my questions :
- did i did it right, is there some unexpected behaviour with this solution?
- does activating ACL tycket type this way can have impact (on perfomance for example)?
This is my first post and my english is not perfect so I apology in advance. feel free to tel me how i can do better with such subjects.
Alan
TicketAcl Tickets type restriction (auto solved)
Moderator: crythias