disable right click option from query result in RTC eclipse client
Hi All,
I already questioned something related to it. In RTC eclipse client with query result right click --> Change attribute value. It changes value. I dont want to this to happen.
https://jazz.net/forum/questions/93007/rtc-eclipse-client-query-result-can-edit-work-items
I tried with extensions, its getting distrubed other working stuffs.
Can I do this with eclipse plug ins? Dissable that option from right click menu.
Or Is there way to get event triggered while modifying so that I can catch in extensions and manipulate(or show error message)
Thanks,
Kavita
One answer
I would first try and implement role based permissions for each attribute for which you want to allow / deny modification, so that the user will get the appropriate error msg from the Team Advisor when trying to modify an attribute for which the given role does not have appropriate permission.
While waiting for an appropriate feature Allow read-only display of an attribute based on role and/or permissions to modify (152410), we could imagine implementing dynamic read-only attributes based on role,
1 - implement a new condition as a Javascript that will check on a certain condition
2 - add Read Only Attributes for Condition
(but I assume this is outside the scope of your request)
For events, triggers and notifications, please refer to this article : https://jazz.net/wiki/bin/view/Main/FoundationNotifierTutorial
Hope it helps
Thanks.
Eric.
Comments
Actualy I can't do with read only condition as it will be applied on roles and permissions.
my requirement is to disable editing from query results. whether user has all roles and permissions should not allow. I just want to know is there RTC API I can use to check in extesions wether saveworkitem is triggered from query results or from web client or from eclipse work item edit.
please give some suggestions how to move forword.
well - apart from opening a new enhancement request, the above proposals still stand.
Thanks
Hi All,
Can I disable one option from right click menu in work item window that shows query result by creating RTC eclipse client pluing project?
Please can any one provide me information
Thanks,
Kavita
no updates ?
Can Any one update is this possible from eclipse plug in project to disable dynamic option from right click menu of work item window.
So that I can proceed my work.
Hello,