mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-02 22:55:53 +00:00
Support filtering of descriptors from the global configuration page
This commit is contained in:
1 parent
7782d94fd1
commit
5777744013
1 file changed
+1
-1
@@ -781,7 +781,7 @@ public class Functions {
|
||||
List<Descriptor> answer = new ArrayList<Descriptor>(r.size());
|
||||
for (Tag d : r) answer.add(d.d);
|
||||
|
||||
return answer;
|
||||
return DescriptorVisibilityFilter.apply(Jenkins.getInstance(),answer);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user