Jenkins 设置权限后,管理员登陆提示:Access Denied admin没有Overall/Read权限
处理办法:
window下编辑 xml 配置文件: %userprofile%.jenkins\config.xml
去掉如下部分配置,重启jenkins
<useSecurity>true</useSecurity><authorizationStrategy class&#61;"hudson.security.GlobalMatrixAuthorizationStrategy"><permission>hudson.model.Item.Build:build</permission><permission>hudson.model.Item.Cancel:build</permission><permission>hudson.model.Item.Configure:build</permission><permission>hudson.model.Item.Create:build</permission><permission>hudson.model.Item.Delete:build</permission><permission>hudson.model.Item.Discover:build</permission><permission>hudson.model.Item.Read:build</permission><permission>hudson.model.Item.Workspace:build</permission></authorizationStrategy><securityRealm class&#61;"hudson.security.HudsonPrivateSecurityRealm"><disableSignup>true</disableSignup><enableCaptcha>false</enableCaptcha></securityRealm>
测试访问即可&#xff01;&#xff01;&#xff01;