Permission denied exception when executing a custom RTC Plugin.
Hi All,
I developed a custom RTC plugin which will do the following.
-> Auto calculates total story points attribute for a work item which is the sum of the Story points oif all its children.
for this I`m reading all the child work items and getting the Story points and adding them up.
I`m receiving the Permission denied exception sometimes when the user is not a member for one of the team Area to which the child Story belongs to.
how can I avoid this?
Thanks
Surender
|
One answer
Ralph Schoon (63.5k●3●36●46)
| answered Jan 28 '15, 5:30 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Is read permission denied or is write permission denied?
Operational behavior runs in the context of the user doing the operation. If it is read permission, you can only avoid this by providing the users with the required permissions. Maybe you can use the permission aware API when retrieving the linked work items and only work on the ones you have permission. If it is write permission then the user needs the write permission on the work item attribute. |
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.