mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-28 12:05:19 +00:00
JENKINS-61201 JEP-224 System read - about jenkins (#4520)
This commit is contained in:
1 parent
28cad7f317
commit
47a0be9eda
4 files changed
+12
-5
No files matched your search
@@ -439,7 +439,7 @@ public class PluginWrapper implements Comparable<PluginWrapper>, ModelObject {
|
||||
}
|
||||
|
||||
public Api getApi() {
|
||||
Jenkins.get().checkPermission(Jenkins.ADMINISTER);
|
||||
Jenkins.get().checkPermission(Jenkins.SYSTEM_READ);
|
||||
return new Api(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user