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

A user cannot see his own credentials without the permission "View credentials"

    XMLWordPrintable

Details

    Description

      When a user doesn't have the permission to "Read credentials", he cannot list his own credentials. However he can access to the credentials page (via his name > Credentials), he cas add, delete and update his credentials but he just cannot list them.

      The screenshot list.png has been taken after the add of a user/password and as you can see the list stays empty

      Attachments

        1. add.png
          add.png
          38 kB
        2. list.png
          list.png
          44 kB
        3. security.png
          security.png
          145 kB

        Issue Links

          Activity

            Ok will fix

            stephenconnolly Stephen Connolly added a comment - Ok will fix

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            src/main/java/com/cloudbees/plugins/credentials/UserCredentialsProvider.java
            src/main/resources/com/cloudbees/plugins/credentials/UserCredentialsProvider/UserCredentialsProperty/config.jelly
            src/main/resources/com/cloudbees/plugins/credentials/UserCredentialsProvider/UserCredentialsProperty/config.properties
            http://jenkins-ci.org/commit/credentials-plugin/db3664cf3317d870d3124b3b9d5ccabbcd3f8625
            Log:
            [FIXED JENKINS-33872] User should be able to view their own credentials

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: src/main/java/com/cloudbees/plugins/credentials/UserCredentialsProvider.java src/main/resources/com/cloudbees/plugins/credentials/UserCredentialsProvider/UserCredentialsProperty/config.jelly src/main/resources/com/cloudbees/plugins/credentials/UserCredentialsProvider/UserCredentialsProperty/config.properties http://jenkins-ci.org/commit/credentials-plugin/db3664cf3317d870d3124b3b9d5ccabbcd3f8625 Log: [FIXED JENKINS-33872] User should be able to view their own credentials

            People

              stephenconnolly Stephen Connolly
              benjamin_cs Benjamin COHEN SOLAL
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: