| Type |
Security Vulnerability
|
| Priority |
Major
|
| Assignee | |
| Affected Versions |
17.2.6
|
| Labels |
No labels
|
Issue Votes (0)
| Type |
Security Vulnerability
|
| Priority |
Major
|
| Assignee | |
| Affected Versions |
17.2.6
|
| Labels |
No labels
|
We are running OneDev 17.2.6 and encountered a permissions problem caused by the removal of Project Defaults in OD-3296.
Previously, we managed shared job secrets centrally through Project Defaults. These secrets could only be viewed and managed by administrators. During the upgrade, the secrets were copied into the individual root projects.
As a result, colleagues who have management permissions on these root projects, but do not have administrator privileges, can now view secret values they could not access before. The migration therefore expanded access to existing credentials without an explicit authorization decision.
Why project hierarchy is not a practical replacement
Moving all existing projects underneath a common parent would change their project paths and URLs. This would affect existing clone URLs, integrations, CI/CD references, and links. Reorganizing our entire project hierarchy is not a viable workaround for retaining the previous secret access restrictions.
Expected behavior
An upgrade should preserve the access restrictions of existing secrets. Moving secrets from an administrator-only scope into project settings should not automatically make their values visible to project managers.
Possible solutions would be:
The second option would also be useful independently of this migration, for example when a colleague needs to update a credential without being able to retrieve credentials previously entered by others.
Auditability
At a minimum, we need audit logging for secret-value access and secret management operations. This should record who accessed or changed which secret, in which scope, and when, covering both UI and API access. Secret values themselves must never be included in the audit log.
Audit logging would help us investigate potential credential disclosure, although it would not replace the missing access restrictions.
Could you reconsider the removal of the central secret scope, or provide a way to preserve the previous permission boundary without changing existing project paths?