Jenkins GitHub OAuth 插件的“用户缺少整体/读取权限"错误 [英] 'User is missing the Overall/Read permission' error with Jenkins GitHub OAuth Plugin
本文介绍了Jenkins GitHub OAuth 插件的“用户缺少整体/读取权限"错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用 github oauth 插件登录,但对于我们组织中的所有用户,我收到一个错误:
I'm using the github oauth plugin for our logins but for all of our users in the Organisation I get an error:
Access Denied
<user> is missing the Overall/Read permission
我已经尝试了所有我能想到的方法来完成这项工作,我可能会退回到让每个人都成为管理员用户,我不想这样做.
I have tried everything I can possibly think of to try to make this work and I'm probably going to fallback to making everyone an admin user, which i would prefer not to do.
任何建议将不胜感激.
推荐答案
我是这样解决认证问题的:
This is how I resolved the authentication problem:
编辑
config.xml
文件,例如
sudo vi /var/lib/jenkins/config.xml
将
useSecurity
元素的值更改为false
,例如
Change
useSecurity
element's value tofalse
, e.g.
<useSecurity>false</useSecurity>
移除authorizationStrategy
块
重启Jenkins:/etc/init.d/jenkins restart
.
这篇关于Jenkins GitHub OAuth 插件的“用户缺少整体/读取权限"错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文