1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
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
讲解的很详细
|
说明下
Manage and Assign Roles Project roles 最主要控制view的权限,如果要精细控制,必须在这块设置
本文转自 liqius 51CTO博客,原文链接:http://blog.51cto.com/szgb17/1785759,如需转载请自行联系原作者