How do I find which users count against my Stash license?
Symptoms
The number of licensed users is exhausted but it isn't evident what users are occupying license seats.
Resolution
Development wrote a small plugin that will help determine what users Stash sees:
- Log in to Stash as an administrator and go to
Administration > Manage Add-on
and click on "Upload add-on". - Paste the following URL into the
From URL
field and click "Upload": https://maven.atlassian.com/public/com/atlassian/stash/plugins/user-permission-debugger/0.2/user-permission-debugger-0.2.jar - Wait for the plugin to install, then browse to
<your_stash_baseurl>/plugins/servlet/users-with/LICENSED_USER
which will display the active users.
Also, open<stash_home>/log/atlassian-stash.log
as it will have output identifying how each user is granted theLICENSED_USER
permission. Look for the following output specifically:
c.a.s.i.user.PermissionServiceImpl Switching to log level [TRACE]
c.a.s.i.user.PermissionServiceImpl Calculating users with the LICENSED_USER permission
... output listing users and explicit/implicit permissions ...
c.a.s.i.user.PermissionServiceImpl Switching to log level [INFO]
The plugin is locked down to administrators but it can be uninstalled from the Manage Plugins
screen if preferred.
Last modified on Feb 23, 2016
Powered by Confluence and Scroll Viewport.