config: rework privilege revocation
Closes #9643 @TarantoolBot document Title: config: changes in `credentials` section Now the privileges that were not granted by the configuration, as well as privileges that were not granted solely by the configuration, are not revoked on reload. Privileges that have been granted only by the config module will still be revoked if they are removed from the `credentials` section on reload.
Showing
- changelogs/unreleased/gh-9643-credentials-from-app-roles.md 3 additions, 1 deletionchangelogs/unreleased/gh-9643-credentials-from-app-roles.md
- src/box/lua/config/applier/credentials.lua 79 additions, 124 deletionssrc/box/lua/config/applier/credentials.lua
- test/config-luatest/config_test.lua 104 additions, 0 deletionstest/config-luatest/config_test.lua
- test/config-luatest/credentials_applier_test.lua 170 additions, 471 deletionstest/config-luatest/credentials_applier_test.lua
Loading
Please register or sign in to comment