Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC Server API to check user has access to save/modify workitem

 I am writing followup action to save the parent attribute when child workitem is modified.

So, when i save the child workitem if user doenst have access to update attribute and save, it triggers error message on child workitem and it wont allow to save child workitem also.
I want the child workitem to save and give popup message that parent cannot be saved due to permission issue.
Kindly can someone help me whether this is possible?


0 votes



One answer

Permanent link
  1. Follow up actions run in the context of the user performing the initial operation. 
  2. You can not override that. 
  3. You can not initiate any pop up window, nor should you even try.
  4.  You can wrap the save call in a try block and fail gracefully and prevent the original operation from happening.
  5. Error messages are displayed in the advisor and the UI - see the extensions workshop.

0 votes

Comments

Thank you Ralph!

I will display the message in WEB UI

so, its possible to save the child and displaying message while saving the Parent Workitem which user dont have access? 

Did you read the answer at all? This seems to be a reoccurring pattern. Is it to ignore the answer and ask the question again in the hope to get another answer?

For all I can tell 

No you won't.
No it is not possible.

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,940

Question asked: Jul 25 '19, 3:00 a.m.

Question was seen: 1,208 times

Last updated: Jul 26 '19, 3:20 a.m.

Confirmation Cancel Confirm