Autocomplete feature for unprivileged users ( AllowUserAutocompleteForUnprivileged?)

Hi all,

I can’t get the autocomplete email address feature to work for unprivileged people who access the SelfService area.
It is correctly set in RT_SiteConfig, as I can also see in RT’s web UI, tools > system configuration: AllowUserAutocompleteForUnprivileged=1
I’m experiencing this problem both on RT 4.0.2 and 4.0.6.

I am starting to think that I misunderstand the meaning of the AllowUserAutocompleteForUnprivileged config!

Here is what happens if I login as an unprivileged user and go in the SelfService/Create.html page, as Firebug says: as I type a bunch of characters in the requestors or cc field, RT returns a 302 HTTP status code (“found”), and then redirects me to SelfService/

Any help appreciated.
Thank you

Alberto Scotto
Information Technologies Consultant

FIAT POWERTRAIN TECHNOLOGIES S.p.A.
Corso Settembrini 167, 10135 Torino, Italia

I can’t get the autocomplete email address feature to work for
unprivileged people who access the SelfService area. It is correctly
set in RT_SiteConfig, as I can also see in RT’s web UI, tools >
system configuration: AllowUserAutocompleteForUnprivileged=1 I’m
experiencing this problem both on RT 4.0.2 and 4.0.6.

I am starting to think that I misunderstand the meaning of the
AllowUserAutocompleteForUnprivileged config!

You’re not misunderstanding, there’s just a bug which renders that
option a nice thought but ineffective. There will be a fix at some point.

http://issues.bestpractical.com/Ticket/Display.html?id=16946

Thank you very much for the link!
It’s a feature very useful for end users, so when I have time, I’ll try to figure out how to solve the problem (I see a solution already exists, I’ll see if it works on RT4).

Cheers

Alberto Scotto
Information Technologies Consultant

FIAT POWERTRAIN TECHNOLOGIES S.p.A.
Corso Settembrini 167, 10135 Torino, Italia
Da: rt-users-bounces@lists.bestpractical.com [rt-users-bounces@lists.bestpractical.com] per conto di Thomas Sibley [trs@bestpractical.com]
Inviato: martedì 29 maggio 2012 14.38
A: rt-users@lists.bestpractical.com
Oggetto: Re: [rt-users] Autocomplete feature for unprivileged users ( AllowUserAutocompleteForUnprivileged?)On 05/28/2012 10:18 AM, SCOTTO Alberto (Consultant) (FIAT POWERTRAIN TECHNOLOGIES) wrote:

I can’t get the autocomplete email address feature to work for
unprivileged people who access the SelfService area. It is correctly
set in RT_SiteConfig, as I can also see in RT’s web UI, tools >
system configuration: AllowUserAutocompleteForUnprivileged=1 I’m
experiencing this problem both on RT 4.0.2 and 4.0.6.

I am starting to think that I misunderstand the meaning of the
AllowUserAutocompleteForUnprivileged config!

You’re not misunderstanding, there’s just a bug which renders that
option a nice thought but ineffective. There will be a fix at some point.

http://issues.bestpractical.com/Ticket/Display.html?id=16946

Thank you very much for the link!
It’s a feature very useful for end users, so when I have time, I’ll try to figure out how to solve the problem (I see a solution already exists, I’ll see if it works on RT4).

FWIW, the autocomplete feature only exists in RT 4. I believe the
correct workaround is to add /Helpers/Autocomplete/Users and
/Helpers/Autocomplete/Owners to the $SelfServiceRegex config option.

We’re working on a fix which also refactors and tidies up the
autocomplete endpoints while we’re at it.

Thomas

Then that will be my first try!
Thank you again,
I’ll let you know as soon as I try

Alberto Scotto
Information Technologies Consultant

FIAT POWERTRAIN TECHNOLOGIES S.p.A.
Corso Settembrini 167, 10135 Torino, Italia
Da: rt-users-bounces@lists.bestpractical.com [rt-users-bounces@lists.bestpractical.com] per conto di Thomas Sibley [trs@bestpractical.com]
Inviato: martedì 29 maggio 2012 14.57
A: rt-users@lists.bestpractical.com
Oggetto: Re: [rt-users] R: Autocomplete feature for unprivileged users (AllowUserAutocompleteForUnprivileged?)On 05/29/2012 08:50 AM, SCOTTO Alberto (Consultant) (FIAT POWERTRAIN TECHNOLOGIES) wrote:

Thank you very much for the link!
It’s a feature very useful for end users, so when I have time, I’ll try to figure out how to solve the problem (I see a solution already exists, I’ll see if it works on RT4).

FWIW, the autocomplete feature only exists in RT 4. I believe the
correct workaround is to add /Helpers/Autocomplete/Users and
/Helpers/Autocomplete/Owners to the $SelfServiceRegex config option.

We’re working on a fix which also refactors and tidies up the
autocomplete endpoints while we’re at it.

Thomas

I DID IT!!!

Set($SelfServiceRegex, qr!^(?:/+(SelfService|Helpers/Autocomplete)/)!x );

I’m not a perl regex expert at all, but it works! Or so it seems!
I’m afraid it’s too easy to be correct, so, please, tell me if it’s fine.

Thank you so much!!!

Da: rt-users-bounces@lists.bestpractical.com [rt-users-bounces@lists.bestpractical.com] per conto di Thomas Sibley [trs@bestpractical.com]
Inviato: martedì 29 maggio 2012 14.57
A: rt-users@lists.bestpractical.com
Oggetto: Re: [rt-users] R: Autocomplete feature for unprivileged users (AllowUserAutocompleteForUnprivileged?)On 05/29/2012 08:50 AM, SCOTTO Alberto (Consultant) (FIAT POWERTRAIN TECHNOLOGIES) wrote:

Thank you very much for the link!
It’s a feature very useful for end users, so when I have time, I’ll try to figure out how to solve the problem (I see a solution already exists, I’ll see if it works on RT4).

FWIW, the autocomplete feature only exists in RT 4. I believe the
correct workaround is to add /Helpers/Autocomplete/Users and
/Helpers/Autocomplete/Owners to the $SelfServiceRegex config option.

We’re working on a fix which also refactors and tidies up the
autocomplete endpoints while we’re at it.

Thomas

Alberto Scotto

[Blue]
Via Cardinal Massaia, 83
10147 - Torino - ITALY
phone: +39 011 29100
al.scotto@reply.it
www.reply.it

The information transmitted is intended for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.