SU for Fisheye/Crucible

SU for Fisheye/Crucible

This plugin provides the same SU function as for JIRA, Confluence and Bamboo.  Like the others, a customization is required to add the SU link in the userbrowser.  In order to apply this customization you must be running with the jsp-source edition that allows this customization.

FECRU-SU Compatibility

Fe/CruSU
2.10.41.0


Template change

The template file to be changed is located at fecru-2.10.4/content/WEB-INF/jsp/admin/useradmin.jsp.  The actual change is as follows:

From:

<td class="verb">
    <a href="<ww:url value="'userDelete-default.do'" encode="'true'" includeParams="'none'"><ww:param name="'uname'" value="user.username"/></ww:url>">Delete</a>
    |
    <a href="<ww:url value="'userLogout-default.do'" encode="'true'" includeParams="'none'"><ww:param name="'uname'" value="user.username"/></ww:url>">Logout</a>
    |
    <a href="<ww:url value="'userRename-default.do'" encode="'true'" includeParams="'none'"><ww:param name="'uname'" value="user.username"/></ww:url>">Rename</a>
    |
    <a href="<ww:url value="'userResetCaptcha-default.do'" encode="'true'" includeParams="'none'"><ww:param name="'uname'" value="user.username"/></ww:url>"
            title="Reset the login failure counter.">Reset Captcha</a>
    |
    <a href="userEdit-default.do?uname=<ww:property value="user.username"/>">Edit</a>
</td>

To:

<td class="verb">
    <a href="<ww:url value="'userDelete-default.do'" encode="'true'" includeParams="'none'"><ww:param name="'uname'" value="user.username"/></ww:url>">Delete</a>
    |
    <a href="<ww:url value="'userLogout-default.do'" encode="'true'" includeParams="'none'"><ww:param name="'uname'" value="user.username"/></ww:url>">Logout</a>
    |
    <a href="<ww:url value="'userRename-default.do'" encode="'true'" includeParams="'none'"><ww:param name="'uname'" value="user.username"/></ww:url>">Rename</a>
    |
    <a href="<ww:url value="'userResetCaptcha-default.do'" encode="'true'" includeParams="'none'"><ww:param name="'uname'" value="user.username"/></ww:url>"
            title="Reset the login failure counter.">Reset Captcha</a>
    |
    <a href="<ww:url value="'/plugins/servlet/fecrusu/su'" encode="'true'" includeParams="'none'"><ww:param name="'userId'" value="user.username"/></ww:url>"
            title="Switch User to this user">SU</a>
    |
    <a href="userEdit-default.do?uname=<ww:property value="user.username"/>">Edit</a>
</td>


After saving the changes, the user browser will look like:

Pre-mofidifed files

FeCru VersionLink
2.10.4useradmin_2.10.4.jsp

Using SU

Using the SU link will immediately cause the current user to become the selected user, allowing access validation, problem reproduction etc.

When finished, the SU Exit link can be used to revert to the administrator user:

SU Exit

(info) The SU Exit feature is available for 5 minutes and will then expire, this has been done for security.

Security

  • Only administrators may initiate an SU
  • Administrators may not SU to another administrator
  • SU Exits will not be valid after 5 minutes
  • SU will only succeed if the target user can login and is valid.

Logging

Logging is written relating to SU activities.


EULA

This software is licensed under the provisions of the Standard EULA from the Atlassian Marketplace Terms of Use as a Marketplace Product.

The "Standard EULA" is reproduced here for convenience. In this case, the "Publisher" is The Plugin People Ltd:

(i) The Publisher is the licensor of the Marketplace Product and Atlassian is not a party to the Publisher EULA or this Standard EULA, as applicable.

(ii) If the Marketplace Product does not include a Publisher EULA that specifies Marketplace Product license rights, Publisher grants you a limited, worldwide, non-exclusive, non-transferable and non-sublicensable license to download and use the Marketplace Product only on hardware systems owned, leased or controlled by you.

(iii) Licenses granted by Publisher are granted subject to the condition that you must ensure the maximum number of Authorized Users that are able to access and use the Marketplace Product concurrently is equal to the number of User Licenses for which the necessary fees have been paid to Atlassian and/or its authorized partners (each, an "Atlassian Expert"). You may purchase additional User Licenses at any time on payment of the appropriate fees to Atlassian or an Atlassian Expert. "User License" means a license granted under this EULA to you to permit an Authorized User to use the Marketplace Product. The number of User Licenses granted to you is dependent on the fees paid by you. "Authorized User" means a person who accesses and uses a Marketplace Product under the EULA and for which the necessary fees have been paid to Atlassian and/or an Atlassian Expert.

(iv) Any information that Publisher collects from you or your device will be subject to any Publisher EULA, privacy notice, or similar terms that the Publisher provides to you, and will not be subject to the Atlassian Privacy Policy (unless Atlassian is the Publisher).

(v) You may not modify, reverse engineer, decompile or disassemble the Marketplace Product in whole or in part, or create any derivative works from or sublicense any rights in the Marketplace Product, unless otherwise expressly authorized in writing by Publisher.

(vi) The Marketplace Product is protected by copyright and other intellectual property laws and treaties. Unless otherwise expressly stated in the Publisher EULA, Publisher or its licensors own all title, copyright and other intellectual property rights in the Marketplace Product, and the Marketplace Product is licensed to you directly by the Publisher, not sold.


Additional Terms

This product is covered by the General Software Product EULA.