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

Disable Save button of a work item

Hi all,

Is there a way to disable the save button of a work item when the user logged in has not permission to change the status of the work item?

Thanks,

0 votes


Accepted answer

Permanent link
 No. The RTC permissions are checked on save. Not in the UI operation
LUIZ DE ALMEIDA selected this answer as the correct answer

1 vote


One other answer

Permanent link
Is there by chance a known enhancement to handle things prior to clicking the save button to improve the usability?  For example, if I am logged into a user that does NOT have permissions to create a work item of a certain type, instead of letting me get the work item into the editor, spend time filling in all of the fields and then clicking the Save button only to get an error saying "you can't create that work item type" ....

1) perhaps the list of work item types that I see in my UI should ONLY contain those that I have permission to create (this may be difficult because it could depend on what team area it is filed against)
2) once in the editor, maybe put an error up that says "Within the specified team area, you do not have permission to save this work item" and disable the save button until the work item type + team area is a combination that I actually *could* save
3) Disable/not allow changes to attributes if I don't have permission to save the changed value

Susan

1 vote

Comments

I am not aware of anyone modifying the product to deliver the UI experience you mention.  I agree 100% with the changes u suggest. I'm all for preventing people from doing ANY work if it might not be successful.

but you would have to modify the product, you cannot subclass the behavior and change how it works.

I have done some of these kinds of modifications to support a new linktype which should only allow specific end types. see workitem 106162. But it is product source modification, and is/has been/will be impacted by product code changes in subsequent releases.

the text of the workitem above in comment is wrong, but the link is good.. unfortunately edit function times out.. (dumb).. the text should read wi 160162

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
× 12,014
× 9

Question asked: Jan 03 '14, 3:14 p.m.

Question was seen: 3,941 times

Last updated: Jan 04 '14, 8:55 a.m.

Confirmation Cancel Confirm