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

DefaultUserAccessor#addMembership fails if Anonymous can't use Confluence

    XMLWordPrintable

Details

    Description

      If a custom authenticator tries to addMembership for a user that is logging in (a common scenario for SSO authenticators) and confluence global permissions don't allow anonymous to use confluence the addMembership call fails with:

      com.atlassian.confluence.core.InsufficientPrivilegeException: User [Anonymous] does not have the required privileges.
      	at com.atlassian.confluence.user.DefaultUserAccessor.addMembership(DefaultUserAccessor.java:81)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            15d9a6950818 Igor Minar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: