Skip to content

Commit 18a3f9d

Browse files
committed
change admin group from sudo to web_admins, same as production (#173)
1 parent bf705c4 commit 18a3f9d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

defaults/config.ini.default

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ user_ou = "ou=users,dc=unityhpc,dc=test" ; User organizational unit
2222
group_ou = "ou=groups,dc=unityhpc,dc=test" ; Group organizational unit
2323
pigroup_ou = "ou=pi_groups,dc=unityhpc,dc=test" ; PI Group organizational unit
2424
orggroup_ou = "ou=org_groups,dc=unityhpc,dc=test" ; ORG group organizational unit
25-
admin_group = "cn=sudo,dc=unityhpc,dc=test" ; admin dn (members of this group are admins on the web portal)
25+
admin_group = "cn=web_admins,dc=unityhpc,dc=test" ; admin dn (members of this group are admins on the web portal)
2626
def_user_shell = "/bin/bash" ; Default shell for new users
2727

2828
[sql]

resources/lib/UnityUser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ public function getHomeDir($ignorecache = false)
565565
}
566566

567567
/**
568-
* Checks if the current account is an admin (in the sudo group)
568+
* Checks if the current account is an admin
569569
*
570570
* @return boolean true if admin, false if not
571571
*/

tools/docker-dev/identity/bootstrap.ldif

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ objectclass: simpleSecurityObject
1212
objectclass: organizationalRole
1313
userPassword: {SSHA}d6WBSm5wjlNpMwil1KQY+Uo4o/vc6PnR
1414

15-
dn: cn=sudo,dc=unityhpc,dc=test
16-
cn: sudo
15+
dn: cn=web_admins,dc=unityhpc,dc=test
16+
cn: web_admins
1717
gidnumber: 500
1818
memberuid: user1_org1_test
1919
memberuid: user3_org1_test

0 commit comments

Comments
 (0)