Skip to content

Commit

Permalink
fix-docu
Browse files Browse the repository at this point in the history
adjust groovy hook script to new user/group separation
  • Loading branch information
mawinter69 committed Jul 7, 2023
1 parent 8da463f commit 0079e39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Role adminRole = new Role("admin",permissions)
/* assign admin role to admin user */
globalRoleMap = rbas.getRoleMaps()[RoleType.Global]
globalRoleMap.addRole(adminRole)
globalRoleMap.assignRole(adminRole, 'admin')
globalRoleMap.assignUserRole(adminRole, 'admin')
jenkins.setAuthorizationStrategy(rbas)
Expand Down

0 comments on commit 0079e39

Please sign in to comment.