Skip to content

change admin group from sudo to web_admins, same as production #173

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion defaults/config.ini.default
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ user_ou = "ou=users,dc=unityhpc,dc=test" ; User organizational unit
group_ou = "ou=groups,dc=unityhpc,dc=test" ; Group organizational unit
pigroup_ou = "ou=pi_groups,dc=unityhpc,dc=test" ; PI Group organizational unit
orggroup_ou = "ou=org_groups,dc=unityhpc,dc=test" ; ORG group organizational unit
admin_group = "cn=sudo,dc=unityhpc,dc=test" ; admin dn (members of this group are admins on the web portal)
admin_group = "cn=web_admins,dc=unityhpc,dc=test" ; admin dn (members of this group are admins on the web portal)
def_user_shell = "/bin/bash" ; Default shell for new users

[sql]
Expand Down
2 changes: 1 addition & 1 deletion resources/lib/UnityUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ public function getHomeDir($ignorecache = false)
}

/**
* Checks if the current account is an admin (in the sudo group)
* Checks if the current account is an admin
*
* @return boolean true if admin, false if not
*/
Expand Down
4 changes: 2 additions & 2 deletions tools/docker-dev/identity/bootstrap.ldif
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ objectclass: simpleSecurityObject
objectclass: organizationalRole
userPassword: {SSHA}d6WBSm5wjlNpMwil1KQY+Uo4o/vc6PnR

dn: cn=sudo,dc=unityhpc,dc=test
cn: sudo
dn: cn=web_admins,dc=unityhpc,dc=test
cn: web_admins
gidnumber: 500
memberuid: user1_org1_test
memberuid: user2_org1_test
Expand Down
Loading