[PATCH 0/2] add '_vcollation' sysview and fetch it in net.box

Roman Khabibov roman.habibov at tarantool.org
Fri Mar 22 03:27:35 MSK 2019


As I understood "readable for all" means that filter for
"_vcollation" must always return "true", because the condition
"User has read access to according system space" is always
met.

Roman Khabibov (2):
  schema: add "_vcollation" sysview
  net.box: fetch '_vcollation' sysview into the module

 src/box/bootstrap.snap             | Bin 1831 -> 1873 bytes
 src/box/lua/net_box.lua            |  19 ++++--
 src/box/lua/space.cc               |   2 +
 src/box/lua/upgrade.lua            |  25 +++++++-
 src/box/schema.h                   |   4 ++
 src/box/schema_def.h               |   2 +
 src/box/sysview.c                  |  14 +++++
 test/app-tap/tarantoolctl.test.lua |   4 +-
 test/box-py/bootstrap.result       |  13 +++-
 test/box/access_misc.result        |   4 ++
 test/box/access_sysview.result     |  96 ++++++++++++++++++++++++++---
 test/box/access_sysview.test.lua   |  30 +++++++++
 test/box/alter.result              |   6 +-
 test/box/net.box.result            |   2 +-
 14 files changed, 202 insertions(+), 19 deletions(-)

-- 
2.17.2 (Apple Git-113)




More information about the Tarantool-patches mailing list