User right to get users information
Hello,
I'm using the Gemini 3.5.1 release build 2365 and I'm trying to create an external application getting filtered issues.
In this aim, I created a special user with less rigths. This user can only display issues.
When I try to load the list of all users to select one for filtering, the following error occurs because I have not the rigths to do this with the current user : {"Exception has been thrown by the target of an invocation."}.
When trying with administators rights, it works fine but for my software I don't want so many rights.
What can I do to list all users without being administrator.
Waiting for a response,
Best Regards,
CFOE
cfoe
· 1 |
|
Thursday, September 23, 2010, 4:05:47 PM |
0
|
If the user can see the issues in the web application then they should be able to see them via the api. |
||||
|
0
|
Hello, |
||||
|
0
|
You should get the resources using the project service (GetProjectResources). To get all users you have to be an admin user. |
||||
|
0
|
Thank you for the response, so what i want to do is not possible |
||||
|
0
|
Not sure, what exactly are you trying to filter by? |
||||
|
0
|
I try to filter issues by "Reporter" but with my user having only rights to see the issues, I can't list all users. |
||||
|
0
|
I see, yes this is not possible unless you are an admin. |
||||
|
0
|
Our User base don't change often, |
||||
|
0
|
If it doesn't change, what you can do is provide it to your application as a one off in an XML file for example. |
||||
|