Hi Yash Tiwari
The namespace ID 52d39943-cb85-4d7f-8fa8-c6baac873819
corresponds to Project-level permissions.
- Each namespace contains actions with specific bit values
- Each permission has a bit value that represents a specific action. Example:
GENERIC_READ
(View project-level information) -> Bit value: 1GENERIC_WRITE
(Edit project-level information) -> Bit value: 2 If a user has both permissions, the allow value would be 1 + 2 = 3. - The allow and deny fields in the ACEs response define which permissions are granted or restricted. Example:
-
"allow": 1
-> User can view project-level information. -
"allow": 2
-> User can edit project-level information. -
"allow": 3
-> User can view and edit. -
"deny": 1
-> User cannot view project-level information.
-
- The UI dropdowns (Allow/Deny/Not Set) correspond to these bit values.
- If
"View project-level information"
is set to Deny, the API response should reflect"deny": 1
. - The
token
field ($PROJECT:vstfs:///Classification/TeamProject/...
) represents the project where the permissions apply. - The
descriptor
field (Microsoft.IdentityModel.Claims.ClaimsIdentity;vssgp...
) represents the user or group. - The
acesDictionary
contains the actual permissions for that user/group.
Hope this helps!
Please Let me know if you have any queries. If you found the information helpful, please click "Upvote" on the post to let us know and consider accepting the answer as the token of appreciation. Thank You.