Add Users to Jenkins with “Allow users to sign up” Disabled

后端 未结 4 676
鱼传尺愫
鱼传尺愫 2020-12-28 11:46

I do not want new users to be able to sign up. So in Jenkin\'s Configuration, I disabled \"Allow users to sign up\" with using Jenkin\'s own user database.

But how c

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-28 12:11

    The recommended way to handle this is to use matrix based security and leave sign up on. Set default permissions to nothing, this way when people sign up they can't actually do anything until you explicitly grant them permissions. If you don't want to leave the sign up on for some reason, you will have to enable to add users and then disable when you are done. As far as I know there is no way to add a user with sign up turned off unless you want to hand edit the config files.

    There is no default admin user, you will want to make sure you add yourself with max permissions or you risk getting locked out when you enable security.

提交回复
热议问题