jenkins 权限控制
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了jenkins 权限控制相关的知识,希望对你有一定的参考价值。
1./root/.jenkins/config.xml <useSecurity>true</useSecurity> <authorizationStrategy class="hudson.security.GlobalMatrixAuthorizationStrategy"> <permission>com.cloudbees.plugins.credentials.CredentialsProvider.Create:admin</permission> <permission>com.cloudbees.plugins.credentials.CredentialsProvider.Delete:admin</permission> <permission>com.cloudbees.plugins.credentials.CredentialsProvider.ManageDomains:admin</permission> <permission>com.cloudbees.plugins.credentials.CredentialsProvider.Update:admin</permission> <permission>com.cloudbees.plugins.credentials.CredentialsProvider.View:admin</permission> <permission>hudson.model.Computer.Build:admin</permission> <permission>hudson.model.Computer.Configure:admin</permission> <permission>hudson.model.Computer.Connect:admin</permission> <permission>hudson.model.Computer.Create:admin</permission> <permission>hudson.model.Computer.Delete:admin</permission> <permission>hudson.model.Computer.Disconnect:admin</permission> <permission>hudson.model.Hudson.Administer:admin</permission> <permission>hudson.model.Hudson.ConfigureUpdateCenter:admin</permission> <permission>hudson.model.Hudson.Read:admin</permission> <permission>hudson.model.Hudson.Read:anonymous</permission> <permission>hudson.model.Hudson.Read:dubbodev</permission> <permission>hudson.model.Hudson.RunScripts:admin</permission> <permission>hudson.model.Hudson.UploadPlugins:admin</permission> <permission>hudson.model.Item.Build:admin</permission> <permission>hudson.model.Item.Build:dubbodev</permission> <permission>hudson.model.Item.Cancel:admin</permission> <permission>hudson.model.Item.Cancel:dubbodev</permission> <permission>hudson.model.Item.Configure:admin</permission> <permission>hudson.model.Item.Configure:dubbodev</permission> <permission>hudson.model.Item.Create:admin</permission> <permission>hudson.model.Item.Create:dubbodev</permission> <permission>hudson.model.Item.Delete:admin</permission> <permission>hudson.model.Item.Delete:dubbodev</permission> <permission>hudson.model.Item.Discover:admin</permission> <permission>hudson.model.Item.Discover:dubbodev</permission> <permission>hudson.model.Item.Move:dubbodev</permission> <permission>hudson.model.Item.Read:admin</permission> <permission>hudson.model.Item.Read:dubbodev</permission> <permission>hudson.model.Item.Workspace:admin</permission> <permission>hudson.model.Item.Workspace:dubbodev</permission> <permission>hudson.model.Run.Delete:admin</permission> <permission>hudson.model.Run.Replay:admin</permission> <permission>hudson.model.Run.Update:admin</permission> <permission>hudson.model.View.Configure:admin</permission> <permission>hudson.model.View.Create:admin</permission> <permission>hudson.model.View.Delete:admin</permission> <permission>hudson.model.View.Read:admin</permission> <permission>hudson.scm.SCM.Tag:admin</permission> </authorizationStrategy> <securityRealm class="hudson.security.HudsonPrivateSecurityRealm"> <disableSignup>false</disableSignup> <enableCaptcha>false</enableCaptcha> </securityRealm> 这是允许admin登陆管理任何项目 2. Role Strategy Plugin插件 实现不同用户组显示对应视图views中不同的jobs 讲解的很详细
本文出自 “人,要有自己的想法” 博客,请务必保留此出处http://szgb2014.blog.51cto.com/340201/1785759
以上是关于jenkins 权限控制的主要内容,如果未能解决你的问题,请参考以下文章