如何在配置为使用LDAP作为用户数据库的Jenkins上添加外部用户? [英] How can I add external users on Jenkins which is configured to use LDAP as user database?

查看:173
本文介绍了如何在配置为使用LDAP作为用户数据库的Jenkins上添加外部用户?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为我公司的项目设置一个Jenkins服务器. 我将安全领域配置为使用LDAP,并且在我们决定与我们的开发人员一起聘请外部开发团队之前没有问题. 由于某些原因,我们不能为它们创建LDAP帐户,但是必须将CI服务器一起使用以进行协作并获得使用CI服务器的好处.

I'm setting up a Jenkins server for a project of my company. I configured the security realm to use LDAP and had no problem until we decided to hire external development team along with our devs. We cannot create LDAP accounts for them for some reasons, however it is essential to use CI server together to collaborate and to get benefits of using CI server.

是否可以添加不在LDAP中的外部用户?

Is it possible to add external users who are not in LDAP?

到目前为止,我只能想到一种解决方案.

I can think of only one solution so far.

  • 使用詹金斯自己的用户数据库"而不是"LDAP"并手动创建所有用户.

针对这种情况还有其他解决方案吗?

Any other solutions for this situations?

推荐答案

我不这么认为,可能您能做的最好的就是说服您的网络安全团队将外部开发团队添加到LDAP系统中,从而为他们提供支持一个不同的安全角色.

I don't think so , probably the best you can do it try to persuade your network security team to add the external development team to your LDAP system giving them a different security role.

例如,您可以为jenkins_admin,jenkins_staff,jenkins_contractor创建角色,然后为他们赋予不同的特权,但无权使用其他资源.

For example you could create roles for jenkins_admin, jenkins_staff, jenkins_contractor and then give them different privileges but without rights to other resources.

您将如何允许您的外部开发团队致力于您的SCM?

How will you allow your external development team to commit to your SCM?

这篇关于如何在配置为使用LDAP作为用户数据库的Jenkins上添加外部用户?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆