詹金斯安全 - 隐藏所有屏幕,除非用户登录 [英] Jenkins security - hide all screens unless user is logged in

查看:12
本文介绍了詹金斯安全 - 隐藏所有屏幕,除非用户登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道为什么登录的用户可以做任何事情"意味着 Jenkins 会很乐意允许未经身份验证的用户查看项目详细信息和访问工件......无论如何,我需要知道如何让 Jenkins 允许登录用户可以访问任何内容并为未登录的用户隐藏所有内容.请帮助?

I don't know why "logged in users can do anything" means Jenkins will happily allow non-authenticated users to view project details and access artifacts... Regardless, I need to know how to get Jenkins to allow logged in users to to anything AND hide EVERYTHING for users who AREN'T logged in. Help please?

推荐答案

这可以通过 角色策略插件.

安装插件,添加一个名为匿名"的新组并取消选中所有内容.然后,您要添加另一个名为已验证"的组并检查所有内容.将现有用户添加到此组.Jenkins 会立即提示您以这种方式登录.

Install the plugin, add a new group called "Anonymous" and uncheck everything. Then you want to add another group called "authenticated" and check everything. Add your existing users to this group. Jenkins will immediately prompt you for a login this way.

这篇关于詹金斯安全 - 隐藏所有屏幕,除非用户登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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