-
Bug
-
Resolution: Fixed
-
Trivial
-
None
-
-
2.204.vef3c36862054
Recommendation: use Jenkins.get().getAuthentication() and then use ACL.isAnonymous2(), will take care of user with "anonymous" as their real login coming from third party security realm (it's forbidden in the embedded security realm)
[JENKINS-67139] Favorite is implementing its own anonymous check, potentially breaking 3rd party sec realm
Released As | New: 2.204.vef3c36862054 | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Also similar method in https://github.com/jenkinsci/favorite-plugin/blob/67de45c325f99da9dbb637fa304d29992ae16715/src/main/java/hudson/plugins/favorite/project/FavoriteProjectAction.java#L63-L67
and finally: https://github.com/jenkinsci/favorite-plugin/blob/67de45c325f99da9dbb637fa304d29992ae16715/src/main/java/hudson/plugins/favorite/column/FavoriteColumn.java#L89-L92