You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NB: 1.8.3-223-g02adb2a8e commit merges 'session' privilege support (which was introduced in 1.7.7-128-g74ab44ae7) into 1.8 w/o autogranting 'session' privilege for compatibility with 1.7.6 and below.
diff --cc src/box/alter.cc
index 5b2807e1d,74043b814..afd4c2108
--- a/src/box/alter.cc
+++ b/src/box/alter.cc
@@@ -2351,7 -2554,18 +2453,7 @@@ on_replace_dd_priv(struct trigger * /*
if (new_tuple != NULL && old_tuple == NULL) { /* grant */
priv_def_create_from_tuple(&priv, new_tuple);
- priv_def_check(&priv);
- /*
- * Add system privileges explicitly to the
- * universe grant issued prior to 1.7.7 in
- * case upgrade script has not been invoked.
- */
- if (priv.object_type == SC_UNIVERSE &&
- dd_version_id < version_id(1, 7, 7)) {
-
- priv.access |= PRIV_S;
- priv.access |= PRIV_U;
- }
+ priv_def_check(&priv, PRIV_GRANT);
grant_or_revoke(&priv);
struct trigger *on_rollback =
txn_alter_trigger_new(revoke_priv, NULL);
Note: 1.8 becomes 2.0/2.1/2.*; 1.7 evolves into 1.9/1.10.
However, yep, if you're test 1.6 vs 1.10 it should not affect the result. And it seems that this code only works on changes in privileges.
Tarantool version:
1.6.9-94-ga5da60b (installed using official RPM packages)
OS version:
CentOS Linux release 7.7.1908 (Core)
Bug description:
auth failed after upgrade tarantool instance
Steps to reproduce:
yum update -y tarantool
Optional (but very desirable):
master1.6-init.lua:
replica1.6-init.lua:
replica1.10-init.lua
tarantool 1.10 version:
Optional (but very desirable):
The text was updated successfully, but these errors were encountered: