James
James

Reputation: 53

Object Permissions - App SDK vs WEB API

I wrote a reporting app that aggregates lots of information for an iteration. One of the things it does is query individual defects to display their details in certain places. It works perfectly but there is a group of users at another office where the defect information comes up blank.

I see that the queries for these defects are returning 0 results. This confuses me because if I run the same query for a defect in the Web API as that same user that is running the app, the defect is returned. The user can also see the defect in Rally.

Is there any differences in the permissions required by the App SDK and Web API?

Upvotes: 2

Views: 111

Answers (1)

Charles Ferentchak
Charles Ferentchak

Reputation: 1237

The Web Services API enforces the same permissions as the normal Rally Web App.

My guess is you are seeing one of two issues:

  1. The users of your App cannot see the defects because they are in a project that they have no permissions on. You can test this by sending them a link to one of the defects that you would expect them to be able to see.
  2. The users have a different project selected or their project scoping is different than what is on your machine. This is likely the culprit if they can see the link you sent them in step one. In this case you can also set the scope of the App to the project that you are interested in reporting from.

This image below shows the interface for locking an App to a specific scope.

You just need to "Choose Specific Project" and find the project you are interested in reporting from. Note this

enter image description here

I made a mini App that just displays what the project id that the App is currently showing which is located at this gist.

Upvotes: 1

Related Questions