Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[JENKINS-49044] Apply visibility filters to SecurityRealm and AuthorizationStrategy #3246
Proposed changelog entries
The way I've always explained it to myself is that we only apply descriptor filters for things that cannot represent existing configuration, such as the New Item screen, or the dropdowns for build steps/publishers.
In this case, a misbehaving DVF can actually remove the currently selected option, submission of the form would be pretty bad. I'm not sure this is what we want.
That's already possible as
Yes, it will erase the selected value, however it would be a regression in the code adding the DVF.
However, preemptively limiting a core feature because of potential bugs introduced by plugins seems extremely defensive to me.