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

Can I get information of context from where SaveWorkIem operation is executing.

Hi All,

  Query result right click option modifies data (planned for)in work ticket.   I just want to disable that option to "Planned for" attribute.. It should not be allowed to all users.

 I can't do that through Role based Pre condition in Configuration We have other thing that stoping me to do that.

I just thought of showing error message on right click --> change "palnned for"

 In server pre- condition  Can I get information from ISaveParameter or any class/object about saveoperation

wether save is done by web client/eclipse client/ query result to validate  and show errror message.

Thanks,

Kavita

0 votes



One answer

Permanent link
You don't have control over what right click does in the planning view (unless you want to do some serious coding).
WRT finding the context of the request, why do you want to protect the planning view from changes but not the other views?   A user would just go to the unprotected view to make the change.   Perhaps you could explain what is preventing you from using role-based control for this.

0 votes

Comments

Hi Geoffrey,

 Actually in our PA all pre conditions executed on default role. I want this to be executed on all roles but,I have no idea on any built in pre condition that will block users modifying data(Planned for) from query result(if that cloumn is selected in query result).

In our process definition, planned for can not be changed by all users. Once WT is submitted planned for becomes read ony we have defined another attribute there new have has to be given.we have pre condition defined, whenever new value is assigned, it generates child WT  that should be approved by leaders. After this only panned for will be assigned with new value.

Currently planned for can be modified by query result and its not triggering our pre condition.

I just want to block that feature..

 Thanks,

Kavita

Server-side process preconditions are caught from all clients (if not, it is a bug). 
In particular, I did a quick check in RTC-4.0.1, and if you set the "Read-only attribute for type and state" pre-condition for the Planned-For attribute, it prevents changing that attribute in all clients, including the planning view in the web and Eclipse clients.

1 vote

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,938
× 1,220

Question asked: Mar 01 '13, 7:29 a.m.

Question was seen: 5,859 times

Last updated: Mar 02 '13, 11:50 p.m.

Confirmation Cancel Confirm