Skip to content

test: add test for checking vtables access

Emir Vildanov requested to merge vildanov/620-fix-sql-privileges into master

Summary

This is a test for sbroad!448 (merged)

Originally, when executing queries involving Motions we have to deal with virtual tables, capturing Motion's data. We need to create them and then read from them. The problem was that we had to grant those access privileges to user executing such a query (in case it's not an admin).

Granting such privileges on each vtable interaction seems to have a big overhead so that solution being made in corresponding sbroad MR is to execute queries by admin.


Edited by Yaroslav Dynnikov

Merge request reports