Skip to content

Work item presentation that shows role user has depending on filed against

License

Notifications You must be signed in to change notification settings

jazz-community/rtc-myRoles-presentation

Repository files navigation

travis-svg

My Role Presentation for RTC

This Work Item editor presentation shows the roles a user has in the context of the current Work Item. It is intended to help users in cases where missing permissions lead to issues while saving a Work Item.

The Presentation

On page load and with each Filed Against field change, the roles that the current user has (in the associated team or project area) are calculated and visualized. This includes inherited roles and essentially gives the user a clue if he has the necessary privileges to change the current Work Item.

Setup

Download

You can find the latest release on the releases page of this repository.

Installation

Deploy just like any other update site:

  1. Extract the com.siemens.bt.jazz.viewlet.myteams.Team_updatesite.ini file from the zip file to the server/conf/ccm/provision_profiles directory
  2. Extract the com.siemens.bt.jazz.viewlet.myteams.Team_updatesite folder to the server/conf/ccm/sites directory
  3. Restart the server

Updating an existing installation

  1. Request a server reset in one of the following ways:
    • If the server is currently running, call https://server-address/ccm/admin/cmd/requestReset
    • Navigate to https://server-address/ccm/admin?internaltools=true so you can see the internal tools (on the left in the side-pane). Click on Server Reset and press the Request Server Reset button
    • If your server is down, you can delete the ccm built-on.txt file. Liberty packed with 6.0.3 puts this file in a subfolder of server/liberty/servers/clm/workarea/org.eclipse.osgi/**/ccm. The easiest way to locate the file is by using your operating system's search capabilities.
  2. Delete previously deployed updatesite folder
  3. Follow the file extraction steps from the section above
  4. Restart the server

Configuration

In the administrative section of the project area, navigate to Work Items -> Editor Presentation and choose the Editor Presentation you want to add it to. In a section of your choice, click the green plus to add it.

Add the Presentation 1

In the popup choose "Non-Attribute-based Presentation", then "com.siemens.bt.jazz.rtc.workItemEditor.presentation.roles" as kind. Give it a Label, Description and ID.

Add the Presentation 2

After saving, the presentation is visible to all users. We recommend to repeat the above steps for all Editor Presentations to have a consistent appearance.

About this Plug-In

Compatibility

This plug-in has been verified to work on RTC 6.0.3 and onward. According to our information, the mechanism for creating non-attribute-based presentations has not changed since one of the first releases of RTC, so we expect it to work with any version of RTC. If not, we would appreciate your feedback.

Contributing

Please use the Issue Tracker of this repository to report issues or suggest enhancements.

For general contribution guidelines, please refer to CONTRIBUTING.md

Licensing

Copyright (c) Siemens AG. All rights reserved.
Licensed under the MIT License.

About

Work item presentation that shows role user has depending on filed against

Resources

License

Stars

Watchers

Forks

Packages

No packages published