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 <mail@tazj.in>
This commit is contained in:
parent
c033229a61
commit
2d136e0327
4 changed files with 138 additions and 141 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue