Unprivileged Users using REST

Hi all,

I have a web portal that is providing requests information related to the logged user, using REST to query RT.

It fails to fetch any information from RT unless I change this user to be a privileged user.

Isn’t it possible to have unprivileged users querying RT using REST?

Thanks in advance,
Alexandre Miguel Aniceto

I have a web portal that is providing requests information related to the logged user, using REST to query RT.
It fails to fetch any information from RT unless I change this user to be a privileged user.
Isn’t it possible to have unprivileged users querying RT using REST?

You’d have to mark the REST interface as accessible to Unprivileged
users. You can find the configuration regexp for that in your
RT_Config.pm and modify it in your RT_SiteConfig.pm

-kevin

Kevin,

Perfect. I changed the parameter to:
Set($SelfServiceRegex, qr!^(?:/+SelfService/ | /+REST/)!x );

Now it’s working.

Thanks a lot for your help.
./AAOn Jun 15, 2011, at 22:52 , Kevin Falcone wrote:

On Wed, Jun 15, 2011 at 09:39:52PM +0100, Alexandre Miguel Aniceto wrote:

I have a web portal that is providing requests information related to the logged user, using REST to query RT.
It fails to fetch any information from RT unless I change this user to be a privileged user.
Isn’t it possible to have unprivileged users querying RT using REST?

You’d have to mark the REST interface as accessible to Unprivileged
users. You can find the configuration regexp for that in your
RT_Config.pm and modify it in your RT_SiteConfig.pm

-kevin