diff --git a/CHANGELOG.md b/CHANGELOG.md index 46812929451c5f6d5271b9c2f3dc630cf79f5e77..1c9e1d8b2d2d8bfe8301bcb778acb4f1e31148e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed ### +* [#141](https://gitlab.indiscale.com/caosdb/src/caosdb-pylib/-/issues/141) password_method = unauthenticated not allowed by schema + ### Security ### ### Documentation ### diff --git a/src/caosdb/schema-pycaosdb-ini.yml b/src/caosdb/schema-pycaosdb-ini.yml index 5dabdd89795e19a757209e03cc843776be705777..a81bf006523ab7690ee0bf9d27e0a2d57ce8c3c3 100644 --- a/src/caosdb/schema-pycaosdb-ini.yml +++ b/src/caosdb/schema-pycaosdb-ini.yml @@ -26,7 +26,7 @@ schema-pycaosdb-ini: description: The password input method defines how the password is supplied that is used for authentication with the server. type: string default: input - enum: [input, plain, pass, keyring] + enum: [input, unauthenticated, plain, pass, keyring] password_identifier: type: string password: diff --git a/unittests/test_configs/pycaosdb6.ini b/unittests/test_configs/pycaosdb6.ini new file mode 100644 index 0000000000000000000000000000000000000000..3826564f043c5702385a3d093cb4ebb8d4c24cd2 --- /dev/null +++ b/unittests/test_configs/pycaosdb6.ini @@ -0,0 +1,4 @@ +[Connection] +url=https://localhost:10443/ +# No username, unauthenticated connection +password_method = unauthenticated