How do I find which users count against my Stash license?

'How Do I...' and 'How to...' Guide to Stash

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

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:

  1. Log in to Stash as an administrator and go to Administration > Manage Add-on and click on "Upload add-on".
  2. 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
  3. 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 the LICENSED_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

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.