Permission schemes may show incorrect user if permission is granted to "single user"

XMLWordPrintable

    • 10
    • Severity 3 - Minor

      Issue Summary

      Permissions can be assigned directly to users. In Jira, user records have two different attributes, user key and username. The bug happens when a user has two different records, as exemplified below:

      User Id User Key Username
      1 A B
      2 B C

      When user 1 is referenced in a permission scheme, Jira will display user 2's display name. In case there is no record for user 2, Jira will display user 1's key.

      Steps to Reproduce

      1. Access a permission scheme
      2. Grant a permission to a single user
        • Here, the problem will only occur if the user once had a record that was deactivated and is currently pointed as Former user or if there exists a user record that once

      Expected Results

      Correct user is displayed

      Actual Results

      Incorrect user record is displayed:

        • The expected user to be displayed was FaresGmail, but the one actually displayed was Fares Abbes

      Additional Information

      Although Jira displays the permission as being granted to a Former User, the permission is properly associated with the correct user in the database, so this behavior does not represent a permission problem.

      Workaround

      This problem is not reproduced if the permission scheme is accessed through the project settings page (Project Settings > Permissions).

            Assignee:
            mbamba
            Reporter:
            Leonardo H
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: