-
Bug
-
Resolution: Fixed
-
Minor
-
Jenkins LTS 2.32.3 with ec2@1.36
JENKINS-37616 added a new "Provision" permission.
When I use the new permission, the data is lost Any usage of the permission to anything is lost when jenkins is restarted and it shows up as "Unreadable Data":
Type | Name | Error |
hudson.model.Hudson | IllegalArgumentException: Failed to parse 'hudson.model.Computer.Provision:datallah' — no such permission |
- relates to
-
JENKINS-37616 Cloud.PROVISION is not a first class citizen permission
-
- Resolved
-
- links to
[JENKINS-43279] PROVISION permission not persisted across server restart
Link |
New:
This issue relates to |
Remote Link | New: This issue links to "PR#2835 (Web Link)" [ 15910 ] |
Assignee | New: Oliver Gondža [ olivergondza ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Based on my testing the permissions are only registered after particular class is loaded (which makes sense as it is in the static initializer). It is a bit surprising that the permission is not listed at all until particular code is executed. I have been playing with a dummy instance and the Cloud class needed to be loaded explicitly for the permission to appear in matrix-auth. I can imagine that here user got loaded before the Cloud class got loaded causing the problem.