Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-47768

Prevent "authenticated" to appear twice in LastGrantedAuthorities

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      Currently there is no check in the LastGrantedAuthorities when we add the "authenticated" role to the list we return. In case the SecurityRealm already provide such role, we must ensure there is only "authenticated" role at the end.

        Attachments

          Activity

          wfollonier Wadeck Follonier created issue -
          wfollonier Wadeck Follonier made changes -
          Field Original Value New Value
          Remote Link This issue links to "#3123 (jenkins-core) (Web Link)" [ 17972 ]
          wfollonier Wadeck Follonier made changes -
          Remote Link This issue links to "#87 (github-oauth) (Web Link)" [ 17973 ]
          wfollonier Wadeck Follonier made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          wfollonier Wadeck Follonier made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]
          oleg_nenashev Oleg Nenashev made changes -
          Resolution Fixed [ 1 ]
          Status In Review [ 10005 ] Resolved [ 5 ]

            People

            Assignee:
            wfollonier Wadeck Follonier
            Reporter:
            wfollonier Wadeck Follonier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: