Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local auth example #40

Closed
wants to merge 5 commits into from
Closed

Conversation

mettke
Copy link
Contributor

@mettke mettke commented Apr 7, 2019

Followup on the ldap docker example. This one contains a fully working system using local user management with nginx or httpd.

Requires: #36, #38

@mettke mettke force-pushed the local_auth_example branch 2 times, most recently from fd05880 to 3a0749c Compare April 9, 2019 05:50
mettke added 5 commits May 4, 2019 18:32
Example contains a fully working system using an ldap
server for developers.
* keys-sync user becomes a local and not an ldap user
* local users are allowed to access site without 403
* LDAP can be dis/enabled in the configuration
* Added section to delete local user
* Added section to add local users
* Added graceful handling of deleted users in logs, nodes, ...

There are tables containing NOT NULL fields for actors
like the log table, which contains who did something.
When we remove a user, we don't want to remove that log
as the entity it is for is still alive. We instead want
to remove the actor (or set it to null) so that the
datbase stays consitent. The migrations in this patch
recreate every table which has an actor to allow NULL
fields. It also corrects a few constraints to set those
values to NULL on delete.
* Provides examples for nginx and httpd using htpasswd
@mettke mettke force-pushed the local_auth_example branch from 3a0749c to ff719dc Compare May 4, 2019 16:37
@mettke mettke closed this May 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant