config: add lua_eval, lua_call and sql support to creds
With #8906 the object types mentioned above were introduced. They control access to code execution over IPROTO. This patch adds such object types support to credentials applier. Now 'execute' can be granted to a user or role for 'lua_eval', 'lua_call' and 'sql'. Note that similar to 'universe', objects can't be specified in the config, only 'all' is allowed. Part of #8967 NO_DOC=documentation request will be filed manually for the whole credentials
Showing
- changelogs/unreleased/gh-8967-add-lua_eval-lua_call-sql.md 4 additions, 0 deletionschangelogs/unreleased/gh-8967-add-lua_eval-lua_call-sql.md
- src/box/lua/config/applier/credentials.lua 17 additions, 3 deletionssrc/box/lua/config/applier/credentials.lua
- src/box/lua/config/instance_config.lua 30 additions, 0 deletionssrc/box/lua/config/instance_config.lua
- test/config-luatest/credentials_applier_test.lua 131 additions, 1 deletiontest/config-luatest/credentials_applier_test.lua
- test/config-luatest/instance_config_schema_test.lua 51 additions, 0 deletionstest/config-luatest/instance_config_schema_test.lua
Loading
Please register or sign in to comment