Skip to content

Commit

Permalink
Much progress:
Browse files Browse the repository at this point in the history
Made a lot of checks case-insensitive to prevent case difference duplication.
"groups(s)" -> "group(s)"
deployGitlabUsersAndGroups(): Make all group names Gitlab safe in advance. (Var `$ldapGroupsSafe`.)
deployGitlabUsersAndGroups(): Oh damn, lots of other stuff! Very ready to get to work on synchronising group members now.
in_array_i(): New helper function, case-insensitive version of `in_array_i()`.
array_key_exists_i(): New helper function, case-insensitive version of `array_key_exists()`.
generateRandomPassword(): New helper function to generate fairly random passwords for new users, as a user for some reason can't be created without a password. (They'll never need it though!) -- See https://gitlab.com/gitlab-org/gitlab-ce/issues/55426
  • Loading branch information
Adambean committed Dec 23, 2018
1 parent d1f4546 commit 818c52c
Showing 1 changed file with 428 additions and 271 deletions.
Loading

0 comments on commit 818c52c

Please sign in to comment.