Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-3599

PermissionService#hasAnyUserPermission incorrectly requires a context user

    XMLWordPrintable

Details

    Description

      PermissionService#hasAnyUserPermission checks whether there is a current user when it shouldn't. As a result a plugin developer cannot invoke any method protected by hasAnyPermission authorization in a runWithPermission

      Attachments

        Activity

          People

            jhinch jhinch (Atlassian)
            jhinch jhinch (Atlassian)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: