将 Jenkins 作业的可见性限制为特定用户 [英] Restricting visibility of Jenkins jobs to specific users

查看:42
本文介绍了将 Jenkins 作业的可见性限制为特定用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Jenkins 中,有没有办法限制某些作业,以便只有特定用户可以查看它们?

In Jenkins, is there a way to restrict certain jobs so that only specific users can view them?

Jenkins 允许通过基于项目的矩阵授权策略"限制每个项目的用户能力.问题是如果没有整体"读取"设置,用户将无法访问任何内容.这似乎允许他们查看所有作业.

Jenkins allows the restriction of user-abilities-per-project via the "Project-based Matrix Authorization Strategy". The problem is that a user can not access anything without the 'Overall' 'Read' setting. This seems to allow them to view all jobs.

是否还有其他插件可以限制作业可见性?

Is there another plugin that would allow job visibility restrictions?

推荐答案

认为这是您要搜索的内容:允许用户访问特定项目

Think this is, what you are searching for: Allow access to specific projects for Users

不带截图的简短说明:
在管理Jenkins"=>配置系统"下使用Jenkins基于项目的矩阵授权策略".在每个项目的配置页面上,您现在都有启用基于项目的安全性".现在添加您要授权的每个用户.

Short description without screenshots:
Use Jenkins "Project-based Matrix Authorization Strategy" under "Manage Jenkins" => "Configure System". On the configuration page of each project, you now have "Enable project-based security". Now add each user you want to authorize.

这篇关于将 Jenkins 作业的可见性限制为特定用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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