-
Bug
-
Resolution: Not A Defect
-
Major
-
Jenkins 1.649
Credentials 1.27
I created a JOB with a SSH credentials parameter.
I also created global SSH permissions.
I created a second user and gave him the permission to view credentials.
When this user tries to trigger the jenkins job, he is requested for the SSH credentials but he cannot see the global credentials I created.
When I give this user the permission to configure the jobs, it's OK, he can browse the global credentials.
Enable the Credentials/UseItem permission https://github.com/jenkinsci/credentials-plugin/blob/master/src/main/java/com/cloudbees/plugins/credentials/CredentialsProvider.java#L107 by setting the system property com.cloudbees.plugins.credentials.UseItemPermission