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

Enhance SecurityRealm API to support queries of the group membership

    Details

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

      Description

      It can be useful in the UIs of AuthorizationStrategies to allow the user to see the members of the groups defined external to Jenkins (i.e. defined in the backing SecurityRealm)

      It is likely that not every security realm will support this operation, but certainly realms such as ActiveDirectory and LDAP should be able to support retrieving this information, so we should provide an API that permits these realms to provide this extra information so that AuthorizationStrategies can enhance the UX

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            core/src/main/java/hudson/security/GroupDetails.java
            core/src/main/java/hudson/security/SecurityRealm.java
            http://jenkins-ci.org/commit/jenkins/ec12c07ef51cc38b60ffeb1808c69c155866926e
            Log:
            [FIXED JENKINS-21371] Enhance SecurityRealm API to support queries of the group membership

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: core/src/main/java/hudson/security/GroupDetails.java core/src/main/java/hudson/security/SecurityRealm.java http://jenkins-ci.org/commit/jenkins/ec12c07ef51cc38b60ffeb1808c69c155866926e Log: [FIXED JENKINS-21371] Enhance SecurityRealm API to support queries of the group membership
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            core/src/main/java/hudson/security/GroupDetails.java
            core/src/main/java/hudson/security/SecurityRealm.java
            http://jenkins-ci.org/commit/jenkins/4ace130e3b9c4145cc639eb07032d6cc0a0ea84d
            Log:
            Merge pull request #1088 from stephenc/master

            [FIXED JENKINS-21371] Enhance SecurityRealm API to support queries of the group membership

            Compare: https://github.com/jenkinsci/jenkins/compare/b01ad4d4b8bf...4ace130e3b9c

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: core/src/main/java/hudson/security/GroupDetails.java core/src/main/java/hudson/security/SecurityRealm.java http://jenkins-ci.org/commit/jenkins/4ace130e3b9c4145cc639eb07032d6cc0a0ea84d Log: Merge pull request #1088 from stephenc/master [FIXED JENKINS-21371] Enhance SecurityRealm API to support queries of the group membership Compare: https://github.com/jenkinsci/jenkins/compare/b01ad4d4b8bf...4ace130e3b9c
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #3167
            [FIXED JENKINS-21371] Enhance SecurityRealm API to support queries of the group membership (Revision ec12c07ef51cc38b60ffeb1808c69c155866926e)

            Result = SUCCESS
            Stephen Connolly : ec12c07ef51cc38b60ffeb1808c69c155866926e
            Files :

            • core/src/main/java/hudson/security/SecurityRealm.java
            • core/src/main/java/hudson/security/GroupDetails.java
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #3167 [FIXED JENKINS-21371] Enhance SecurityRealm API to support queries of the group membership (Revision ec12c07ef51cc38b60ffeb1808c69c155866926e) Result = SUCCESS Stephen Connolly : ec12c07ef51cc38b60ffeb1808c69c155866926e Files : core/src/main/java/hudson/security/SecurityRealm.java core/src/main/java/hudson/security/GroupDetails.java
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            pom.xml
            src/main/java/org/jenkinsci/plugins/mocksecurityrealm/MockSecurityRealm.java
            src/test/java/org/jenkinsci/plugins/mocksecurityrealm/MockSecurityRealmTest.java
            http://jenkins-ci.org/commit/mock-security-realm-plugin/79eeb1704f3ecd2133a1c4bffb41e5be4df701c6
            Log:
            JENKINS-21371 Support GroupDetails.getMembers.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: pom.xml src/main/java/org/jenkinsci/plugins/mocksecurityrealm/MockSecurityRealm.java src/test/java/org/jenkinsci/plugins/mocksecurityrealm/MockSecurityRealmTest.java http://jenkins-ci.org/commit/mock-security-realm-plugin/79eeb1704f3ecd2133a1c4bffb41e5be4df701c6 Log: JENKINS-21371 Support GroupDetails.getMembers.

              People

              • Assignee:
                Unassigned
                Reporter:
                stephenconnolly Stephen Connolly
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: