jenkinsci / jenkinsci/credentials-plugin

[JENKINS-58344] Add support of project-level credentials management

Open
#840 4 comments 0 reactions 0 assignees View on GitHub
component:credentials-plugin imported-jira-issue priority:major resolution:unresolved ux
Dominant language
Java
Stars
134
Forks
258
Avg merge
48m
Merged PRs (30d)
1

Description

User without the global create credentials permission can't create credentials for a project for which they do have the create credentials permissions. 


Configuration



  • Role1 has global create, delete, manage domains, update and view credentials permissions

  • Role2 has project create, delete, update and view credentials permissions

  • Role2 has global view credentials permission

Issue

Users with only Role2 can't create credentials for the job. 

The add button is greyed out and the add credentials options doesn't show in the side menu.

Users who also have **Role1 can create global and job credentials.

Users with only Role2 should be able to manage credentials for the job without the need of the global permission.

 

---
Originally reported by rickclephas, imported from: Add support of project-level credentials management


  • status: Open
  • priority: Major
  • component(s): credentials-plugin
  • label(s): user-experience
  • resolution: Unresolved
  • votes: 0
  • watchers: 3
  • imported: 2025-12-08

Raw content of original issue

User without the global create credentials permission can't create credentials for a project for which they do have the create credentials permissions. 


Configuration



  • Role1 has global create, delete, manage domains, update and view credentials permissions

  • Role2 has project create, delete, update and view credentials permissions

  • Role2 has global view credentials permission

Issue

Users with only Role2 can't create credentials for the job. 
The add button is greyed out and the add credentials options doesn't show in the side menu.

Users who also have **Role1 can create global and job credentials.
Users with only Role2 should be able to manage credentials for the job without the need of the global permission.

 

environment

```
Jenkins ver. 2.176.1

Role Strategy Plugin ver. 2.12

Credentials Plugin ver. 2.2.0

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.