From 2d136e03279e481021a23948fdf5556f25394cd3 Mon Sep 17 00:00:00 2001 From: sterni Date: Mon, 18 Jan 2021 12:10:33 +0100 Subject: feat(todolist): use static slapd user data for knownUsers Since the slapd data is static and generated using nix, we can simply move the user list into ops/users, so it's recognized by readTree and we can use it as ops.users both in ops/nixos/tvl-slapd and web/todolist as a general purpose user registry for depot. Update docs/REVIEWS.md as well. Change-Id: I35caaaab70a5578c47cedc7f33077dd513766290 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2419 Tested-by: BuildkiteCI Reviewed-by: tazjin --- docs/REVIEWS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/REVIEWS.md b/docs/REVIEWS.md index fd7f088d40..f89ca5e118 100644 --- a/docs/REVIEWS.md +++ b/docs/REVIEWS.md @@ -113,7 +113,7 @@ instructions: 1. Be a member of `##tvl-dev` or `##tvl`. 2. Clone the depot locally (via `git clone "https://cl.tvl.fyi/depot"`). -3. Create a user entry in our LDAP server in [tvl-slapd/default.nix][tvl-slapd]. +3. Create a user entry in our LDAP server in [ops/users][ops-users]. We recommend using ARGON2 password hashes, which can be created with the `slappasswd` tool if OpenLDAP was compiled with ARGON2 @@ -149,5 +149,5 @@ The email address is a [public group][]. [Gerrit walkthrough]: https://gerrit-review.googlesource.com/Documentation/intro-gerrit-walkthrough.html [OWNERS]: https://cl.tvl.fyi/plugins/owners/Documentation/config.md [guidelines]: ./CONTRIBUTING.md#commit-messages -[tvl-slapd]: ../ops/nixos/tvl-slapd/default.nix +[ops-users]: ../ops/users/default.nix [public group]: https://groups.google.com/a/tazj.in/forum/?hl=en#!forum/depot -- cgit 1.4.1