Konstantin Osipov
authored
gh-409: connect followed by session.su causes privilege error The problem was in the order of access checks for functions: if a user has no universal access, find function check if a user has rights to execute the function There were no pre-created function object for 'dostring', so access check for this function failed. The fix is to give universal access to ADMIN user right in bootstrap.snap and remove check for ADMIN uid as a special case from access checks. This avoids a functio lookup which would still find nothing. The fix revealed a race condition in replica bootstrap (see changed replication tests): replica begins accepting requets before fully recovering. Add a manual check for full replica recovery to make the tests pass.
Name | Last commit | Last update |
---|---|---|
.. | ||
dmg | ||
rpm | ||
CMakeLists.txt | ||
bin2c.c | ||
empty.snap | ||
logger.pl | ||
org.tarantool.in | ||
schema_erase.lua | ||
schema_fill.lua | ||
static.py | ||
tarantool | ||
tarantool.rb | ||
tarantool_deploy.sh | ||
tarantool_multi.sh | ||
txt2c.c |