Skip to content
Snippets Groups Projects
Commit 261a21bd authored by Alexander Turenko's avatar Alexander Turenko Committed by Alexander Turenko
Browse files

test/config: adjust initial permissions in a test

The test gives some initial permissions for a newly created user. Then,
it synchronizes the permissions with ones that are given in the new
configuration format. The resulting permissions should be the same as
described in the configuration (plus defaults).

The code that grants the initial permissions has a typo in one of the
permission descriptions, so it is not granted (and this error is
silently ignored). It doesn't affect the test case successfulness,
because this permission is anyway expected to be revoked by the
synchronization.

The patch fixes the initial privilege granting code and makes the test
actually verifying that the given permission is revoked.

Part of #8967

NO_DOC=It is a fix of a test.
NO_CHANGELOG=see NO_DOC
parent ee95ad82
No related branches found
No related tags found
No related merge requests found
......@@ -430,7 +430,7 @@ g.test_sync_privileges = function(g)
}, {
"revoke", "session,usage", "universe", ""
}, {
"grant", "execute", "functions", ""
"grant", "execute", "function", ""
},
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment