178eda0f816c2044f1e5f4a87aa890c4c2c115d9
kent
  Tue Oct 1 20:08:43 2024 -0700
Seperating out the user initialization into a script and adding groups to it too.

diff --git src/hg/cirm/cdw/install/initUsersGroups src/hg/cirm/cdw/install/initUsersGroups
new file mode 100755
index 0000000..0756984
--- /dev/null
+++ src/hg/cirm/cdw/install/initUsersGroups
@@ -0,0 +1,15 @@
+#!/bin/tcsh -efx
+
+# Create initial users
+cdwCreateUser kent@soe.ucsc.edu
+cdwCreateUser mhaeussl@ucsc.edu
+cdwCreateUser wisulliv@ucsc.edu
+cdwCreateUser brianlee@ucsc.edu 
+
+# Set Jim and Max as superusers
+hgsql -e "update cdwUser set isAdmin=1 where email='kent@soe.ucsc.edu'" cdw
+hgsql -e "update cdwUser set isAdmin=1 where email='mhaessl@ucsc.edu'" cdw
+
+# Set up groups
+cdwCreateGroup sspsygene "People associated with the SSPsyGene Consortium"
+cdwGroupUser sspsygene kent@soe.ucsc.edu mhaeussl@ucsc.edu wisulliv@ucsc.edu brianlee@ucsc.edu -primary