diff options
author | Nan Zhou <nanzhoumails@gmail.com> | 2022-05-27 03:42:44 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-05-31 18:50:05 +0300 |
commit | a43ea82f71c6eaeeae8f28d0b0179d489decfd81 (patch) | |
tree | 56f6f4bb082deb42a67bce926297ff42f0370fcd /meson_options.txt | |
parent | 1a1d5d6d06458f23e0c86aceda1c807c7553217a (diff) | |
download | bmcweb-a43ea82f71c6eaeeae8f28d0b0179d489decfd81.tar.xz |
meson option: make the insecure-disable-auth macro more accurate
The "auth" term is overloaded in meson option and macros. This commit
changes the macro from BMCWEB_INSECURE_DISABLE_AUTHENTICATION to
BMCWEB_INSECURE_DISABLE_AUTHX, given that if "insecure-disable-auth"
is enabled, both authentication and authorization are disabled.
Tested:
1. set 'insecure-disable-auth=enabled', no authz nor authn is performed,
no crash on AccountService as well.
Signed-off-by: Nan Zhou <nanzhoumails@gmail.com>
Change-Id: Iddca1f866d16346bcc2017338fa6f077cb89cef9
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meson_options.txt b/meson_options.txt index c81f185fd8..e731ab344a 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -264,8 +264,8 @@ option( 'insecure-disable-auth', type: 'feature', value: 'disabled', - description: '''Disable authentication on all ports. Should be set to false - for production systems''' + description: '''Disable authentication and authoriztion on all ports. + Should be set to false for production systems.''' ) option( |