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

Allow disabling of authentication #78

Merged
merged 2 commits into from
Aug 23, 2022
Merged

Allow disabling of authentication #78

merged 2 commits into from
Aug 23, 2022

Conversation

oneiros
Copy link
Collaborator

@oneiros oneiros commented Aug 16, 2022

See #54

I took the commit referenced there, rebased against main and added a few tests.

This now allows to disable authentication by setting authentication_disabled: true in config/hdm.yml.

What is missing in my opinion is an example of this in either config/hdm.yml.template or the documentation. But I was not sure where a suitable place would be. Also I am not 100% sure how this will be used or is supposed to be used (like is this more a development thing or will it be used in production primarily?). So you might want to add this.

(Please note: We talked about adding fixes #[issue number] to PRs, so issues can be closed automatically. I did not do this here on purpose because I am not certain all requirements of #54 are met when this is merged.)

With this change you can set `authentication_disabled` to `true`
in `hdm.yml` to bypass authentication.
Also fix rubocop violations.
@tuxmea tuxmea merged commit c0e2121 into main Aug 23, 2022
@tuxmea tuxmea deleted the issue-54 branch August 23, 2022 12:06
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.

2 participants