1
0
Fork 0
hscloud/hswaw/capacifier
radex d318d7e6d4 hswaw/capacifier: remove mirko dependency
Change-Id: I3afbe1857c321ac6db1255d8a2fe1d9aa3da5c12
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1689
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-10-09 21:23:07 +00:00
..
BUILD.bazel hswaw/capacifier: remove mirko dependency 2023-10-09 21:23:07 +00:00
README.md hswaw/capacifier: migrate deployment away from mirko 2023-10-09 21:22:55 +00:00
capacifier.go hswaw/capacifier: remove mirko dependency 2023-10-09 21:23:07 +00:00
prod.jsonnet hswaw/capacifier: migrate deployment away from mirko 2023-10-09 21:22:55 +00:00

README.md

capacifier

rewrite-in-go of code.hackerspace.pl/tomek/capacifier.

This is one of the oldest API services at the Warsaw hackerspace, and exists solely to provide a generic 'is X a member of Y' functionality. It's generally deprecated (instead OIDC should be used as much as possible), but it's so entrenched into our infra that it's difficult to fully kill.

While the previous implementation had a whole bespoke rule expression language, this implementation is stupidly simple, with all rules hardcoded.

Running

Get the password for the capacifier service account from prod.

Then:

    bazel run //hswaw/capacifier -- --ldap_bind_pw xxx