Details
-
Improvement
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
Hudson 1.369
Description
When "Matrix-based security" or "Project-based Matrix Authorization Strategy" authorization is selected, the permissions are persisted in a different order on each save.
Storing them in a consistent order would make it easier to read diffs of config.xml.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | In Progress [ 3 ] |
Priority | Major [ 3 ] | Minor [ 4 ] |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Workflow | JNJira [ 137235 ] | JNJira + In-Review [ 204434 ] |
Code changed in hudson
User: : StevenGBrown
Path:
trunk/hudson/main/core/src/main/java/hudson/security/GlobalMatrixAuthorizationStrategy.java
trunk/hudson/main/core/src/main/java/hudson/security/Permission.java
trunk/www/changelog.html
http://jenkins-ci.org/commit/33594
Log:
[FIXED JENKINS-7138] GlobalMatrixAuthorizationStrategy (and ProjectMatrixAuthorizationStrategy since it subclasses the Converter) now sorts the permissions before persisting them.