It's all about the answers!

Ask a question

hiding the time tracking presentation based on user role


Luis Quintela (461712) | asked Jun 24 '13, 4:41 p.m.
JAZZ DEVELOPER
I'd like to develop a client-side extension to RTC to hide the time tracking presentation depending on the current user's role. The approach I thought about taking was to create a custom editor presentation that would validate the role and either delegate all the PresentationPart to the actual TimeSheetEntryPartIDE object or display nothing.

I would instantiate the TimeSheetEntryPartIDE object by calling com.ibm.team.workitem.ide.ui.internal.editor.presentations.PresentationsManager.getPresentation with the time sheet kind id.

Would this approach work? If not, how could this be accomplished.

Thank

One answer



permanent link
Martin Aeschlimann (911) | answered Jun 26 '13, 3:40 a.m.
JAZZ DEVELOPER
I guess that could work, but you are deep in the internals of our code which can change any time.

Your answer


Register or to post your answer.