首页 > 解决方案 > Jenkins - adding a user to a group

问题描述

We have Jenkins installed and I'm wondering how to add an existing user to a Jenkins group.

I find how-to's for the case where in Configure Global Security the Security Realm is set to Jenkins' own user database. We have set this to Active Directory - but maybe this doesn't make a real difference to the problem.

In section Authorization we have set Matrix-based security and there are already four groups defined from a previous user, those groups have some custom rights set, and a bunch of AD users were added to those group somehow.

My problem: if I try to add a new user, I can add it to the matrix and give him the rights, but I don't see how to simply add the user to the group. I don't want a huge list of users who all have the same rights - I just want them bundled each into one of the four groups. But how can I add a user to a group? It was possible somehow before, as there are obviously users added to those groups.

Maybe a plugin was uninstalled by accident and is missing for this purpose? But I guess that in that case the Matrix-based security wouldn't even be displayed anymore!?

Any help? Thanks.

标签: jenkins

解决方案


在这种特定情况下,组是 AD 组,用户被添加到 AD 中的这些组,而不是 Jenkins 中。因此,如果您已设置为,则Security Realm必须Active Directory将用户添加到活动目录级别的组中 - 而不是在 Jenkins 中。


推荐阅读