It's all about the answers!

Ask a question

RTC REST query project member error


alessandro lagostena (1145) | asked Sep 18 '14, 5:14 a.m.

Hello ALL

we  found a possible error on the REST query that provide info about project and team area member configuration

We have a project are where a user it's mapped with some roles
In the team area the same user it's mapped but without roles (read only)


When i query via rest the project mapping

- on project area i obtain corret configuration
- on team area I see the user with the same roles of the Project area (like that team area hinert role from project area)

We use followin query

Project Area : https://rtc-test.astsnet.com/ccm/process/project-areas/_QDsk8H6dEeO2XNrhyUCRaQ/members
Team Area    : https://rtc-test.astsnet.com/ccm/process/project-areas/_QDsk8H6dEeO2XNrhyUCRaQ/team-areas/_SfuEAH60EeO1nbR2MjY2zQ/members

This error it's visilbe only on REST query , from administration console (both eclipse and web) we see project and team area configuration in correct way

do you found similar issue ?  it's a know bug ?


Comments
Donald Nong commented Sep 18 '14, 6:59 a.m.

Which version of RTC?


alessandro lagostena commented Sep 18 '14, 8:20 a.m. | edited Sep 18 '14, 8:26 p.m.

Hello

we user JTS and CCM version 4.0.6 (RJF-I20140130-1407)  on Windows env

Regards LAGO

One answer



permanent link
Donald Nong (14.5k614) | answered Sep 18 '14, 9:14 p.m.
edited Sep 18 '14, 9:18 p.m.
I believe that's expected behavior. The fact that you don't see a role assigned to a user in the team area in the UI does not mean that the user actually has no roles in the team area. The user inherits the role from the project area, which is exactly the REST query reveals.
I can verify that a user has the permissions of a role assigned in the project area but not in the team area.
If you need to change the permission, you need to deny it for the particular role.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.