rea*_*ate 44 github jenkins jenkins-plugins
我正在使用github oauth插件进行登录,但对于组织中的所有用户,我收到错误消息:
Access Denied
<user> is missing the Overall/Read permission
Run Code Online (Sandbox Code Playgroud)
我已经尝试了一切我可能想到的尝试使这项工作,我可能会回避让每个人都成为管理员用户,我宁愿不这样做.
任何建议将不胜感激.
Tom*_*hns 64
这就是我解决身份验证问题的方法:
编辑config.xml文件,例如
sudo vi /var/lib/jenkins/config.xml
Run Code Online (Sandbox Code Playgroud)
将useSecurity元素的值更改为false,例如
<useSecurity>false</useSecurity>
Run Code Online (Sandbox Code Playgroud)删除authorizationStrategy块
重启詹金斯:/etc/init.d/jenkins restart.
Sla*_*lav 14
您是否已从插件页面执行此步骤?
Control user authorization (i.e. who is allowed to see the jobs and build them) using the Github Commiter Authorization Strategy
此外,请确保您实际允许经过身份验证的用户访问Jenkins
authenticatedde-*_*cup 12
我在Jenkins(1.651.2)上使用激活的Credentials插件时遇到了"...缺少整体/读取权限"的问题.
但这是我自己的失败:我只在项目端配置了用户(通过凭证插件)但错过了配置全局安全性.
所以我通过选择修复它:
Jenkins - >管理Jenkins - >配置全局安全性
并设置了缺少全局设置(或基于项目矩阵的设置)
当我收到此错误时,我所做的是编辑其他用户提到的 config.xml,并在“configureSecurity”Jenkins 页面的小写字母中正确地重新添加我的用户名。我在添加权限时使用了“KrustyHack”,但它不起作用。我不得不添加“krustyhack”,它起作用了。
我希望它有帮助。
编辑文件/var/lib/jenkins/config.xml并添加以下行:
<authorizationStrategy class="hudson.security.ProjectMatrixAuthorizationStrategy">
<permission>hudson.model.Hudson.Read:john.smith</permission>
</authorizationStrategy>
Run Code Online (Sandbox Code Playgroud)
重新启动詹金斯
| 归档时间: |
|
| 查看次数: |
74720 次 |
| 最近记录: |