mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-20 07:22:32 +00:00
For consistency with ManagementLink, name this #getRequiredPermission()
This commit is contained in:
1 parent
311fe0a3ef
commit
042dc75a8f
5 files changed
+5
-5
No files matched your search
@@ -1062,7 +1062,7 @@ public class Functions {
|
||||
Descriptor d = c.getInstance();
|
||||
if (d.getGlobalConfigPage()==null) continue;
|
||||
|
||||
if (!Jenkins.get().hasPermission(d.getPermission())) {
|
||||
if (!Jenkins.get().hasPermission(d.getRequiredPermission())) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user