为新注册的Jenkins用户配置默认权限 [英] Configure default permissions for newly registered Jenkins users

查看:345
本文介绍了为新注册的Jenkins用户配置默认权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我们公司内部有一个詹金斯服务.它使用LDAP插件(不是Active Directory插件),与我们的Active Directory集成良好,公司用户可以成功登录Jenkins.

I have a Jenkins service running within our company. It uses the LDAP plugin (not the Active Directory plugin), integrates well with our Active Directory, and company users can successfully log in to Jenkins.

默认情况下,用户登录时没有任何权限.当我选择了基于项目的矩阵授权策略时,一长串潜在的授权选项,而且对于每个用户,我(作为Jenkins管理员)目前必须手动(繁琐地)选择我想授予哪些授权.

By default, when a user logs in, they don't have any permissions. As I have selected the project-based matrix authorization strategy, there is a long list of potential authorization options, and for each user, I (as a Jenkins administrator) currently have to manually (and tediously) select which authorizations I want to grant.

是否可以为所有非匿名用户指定默认授权?

Is there a way to specify default authorizations for all non-anonymous users?

推荐答案

一种解决方案是使用具有一些动态广告组的角色策略插件.

动态广告组将包含您的公司员工,您可以为开发人员或质量检查人员创建组,...

The dynamic AD groups will contain your company employees, you can create group for developer or QA, ...

接下来,使用该插件,您可以创建一些全局角色并将这些角色影响到相关的广告组:

Next with the plugin, you can create some global roles and affect these roles to the relevant AD groups:

有帮助吗? :)

这篇关于为新注册的Jenkins用户配置默认权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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