Re: [otrs] customer web interface - ticket creation and visibility

On Tue, Jan 20, 2009 at 11:34 PM, Mikael Kermorgant < mikael.kermorgant@gmail.com> wrote:
On Tue, Jan 20, 2009 at 11:28 PM, Mikael Kermorgant < mikael.kermorgant@gmail.com> wrote:
Hello,
I'm still trying to figure out how to get things working the right way but there's no much progress :
I've tested this : $Self->{CustomerGroupSupport} = 1; $Self->{CustomerGroupAlwaysGroups} = ['clients'];
That way, I see nothing when I log into customer view.
by setting $Self->{CustomerGroupSupport} = 0;
I get my tickets only under "Company tickets". Nothing shows under "My tickets".
I thought it could be related to permissions so I created a "Client" role, which I gave ro access to all the groups. If it was a permission pb, I guess I've should have seen some tickets, but no.
Sorry about this last sentence, I gave this role to my Agent account, not my client one (I appear on both). After having set ro access to my client account on right groups, I now see my tickets (with $Self->{CustomerGroupSupport} = 1;) under "Company tickets". Still nothing under "My tickets".
Seems I have to find the right way to se the Client role to all clients with "UserSyncLDAPAttibuteRolesDefination".
The problem was due to the authentication based on ldap attribute uid which holds values like jdoe, and tickets being associated to mail attribute like john.doe@example.com. I could get it a bit better by configuring the ldap Map for the customer like this : Map => [ # note: Login, Email and CustomerID needed! # var, frontend, storage, shown (1=always,2=lite), required, storagee -type, http-link, readonly [ 'UserSalutation', 'Title', 'title', 1, 0, 'var', ''' , 0 ], [ 'UserFirstname', 'Firstname', 'givenname', 1, 1, 'var', ''' , 0 ], [ 'UserLastname', 'Lastname', 'sn', 1, 1, 'var', ''' , 0 ], [ 'UserLogin', 'Username', 'mail', 1, 1, 'var', ''' , 0 ], [ 'UserEmail', 'Email', 'mail', 1, 1, 'var', ''' , 0 ], [ 'UserCustomerID', 'CustomerID', 'mail', 0, 1, 'var', ''' , 0 ], # [ 'UserCustomerIDs', 'CustomerIDs', 'second_customer_ids', 1, 0, '' var', '', 0 ], [ 'UserPhone', 'Phone', 'telephonenumber', 1, 0, 'var', ''' , 0 ], [ 'UserAddress', 'Address', 'postaladdress', 1, 0, 'var', ''' , 0 ], [ 'UserComment', 'Comment', 'description', 1, 0, 'var', ''' , 0 ], ], }; Regards, -- Mikael Kermorgant
participants (1)
-
Mikael Kermorgant