Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-40700

Incorrect License Count on License Details Page

    XMLWordPrintable

Details

    Description

      Summary

      Confluence reported incorrect license count number on License Details page after disabling or enabling External User Directory's user from Confluence UI.

      Steps to Reproduce

      1. Add an JIRA External Directory in your Confluence instance.
        Please ensure to give this directory Read/Write permission.
      2. Create a group in your JIRA instance specifically for your Confluence users, e.g. confluence-users and add the users who can access your Confluence instance as members of this group.
      3. Access your Confluence instance and navigate to Confluence Administration >> General Configuration >> Global Permissions under Users and Security section on the left hand of the page.
      4. Ensure that you've given Can-Use permission for this confluence-users group and not jira-users group.
        jira-users group is the default group where your newly created users would be assigned to should you create a new user in your JIRA instance.
      5. Access the License Details page in your Confluence instance and take note of the license count shown on the page.
      6. Navigate to Confluence Administration page >> Users and click on the user that only has access to your JIRA instance and not Confluence.
      7. Disable this user.
      8. Re-access the License Details page in your Confluence and notice that the license count has been reduced by one.
      9. Attempt to re-enabled back the user account that you've disabled in step 7.
      10. Re-access the License Details page in your Confluence and notice that the license count has been increased by one.

      Please refer to the attached screencast for further details.

      Environments

      • Tested on Confluence 5.8.17 and 5.9.4 with JIRA External User Directory (JIRA 6.4.12).
      • JIRA External Directory Permission's is set to Read/Write.
      • The user account for the test does not have Can-Use permission in Confluence.

      Expected Results

      Confluence License Details page is showing the correct number of license count. Enabling and disabling users from external user directory that does not have Can-Use permission in Confluence should no be taken into account on the License Details page.

      Actual Results

      Confluence License Details page is not showing the correct number of license count.

      Workaround

      • Flush Confluence cache after disabling/enabling the user via Confluence Administration page >> Cache Management >> Flush All, OR
      • Navigate to License Details page and click Refresh for the data to be re-fetched from the Database instead of using the cache.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lrura Lauretha Rura
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: