-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
Hudson 1.369
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.
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.