How to check permission for iteration in AdvisableOperation?
Hi,
I am looking for the way in which I can check the permission for iteration level in an Advisable Operation. Currently the Constructor of AdvisableOperation object is : public AdvisableOperation(String operationId, Object operationData, IProcessArea processArea, IDevelopmentLine line) Here, the determining factors are precessArea and DevLine only. How to check the permission for iteration (for all iterations; current as well as all other iterations) in AdvisableOperation? Is there any way to include the iteration (any one of the iterations available for a project area) as determining factor along with processArea and Devline? or any other way round to do this?? |
2 answers
How to check the permission for iteration (for all iterations; current as well as all other iterations) in AdvisableOperation? You can get current iteration/all iterations from IDevelopmentLine. It provides functions like IIterationHandle getCurrentIteration(), IIterationHandle[] getIterations(). Dancy Jazz Process Authoring Team |
Jared Burns (4.5k●2●9)
| answered Aug 11 '10, 9:27 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
On Tue, 03 Aug 2010 05:07:53 +0000, dancy wrote:
abuxiwrote: When you implement an AdvisableOperation, you do not (in fact, must not) do any checking of permissions yourself. You should give the advisable operation the appropriate team area in the constructor and pass the operation to the IClientProcess or IServerProcess to adviseAndExecute. The process runtime will take care of checking permissions as appropriate. Please don't follow the advice given in the previous reply. - Jared ---------------------- Jazz Team Process |
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.