From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id E9C4922727 for ; Wed, 16 May 2018 08:37:47 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7BpE3Up4YDM3 for ; Wed, 16 May 2018 08:37:47 -0400 (EDT) Received: from smtp14.mail.ru (smtp14.mail.ru [94.100.181.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id A6709226C8 for ; Wed, 16 May 2018 08:37:47 -0400 (EDT) From: Ilya Markov Subject: [tarantool-patches] [security 0/2] System spaces access control lists Date: Wed, 16 May 2018 15:37:25 +0300 Message-Id: Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: georgy@tarantool.org Cc: kostja@tarantool.org, tarantool-patches@freelists.org Ilya Markov (1): security: Refactor reads from systems spaces imarkov (1): security: Refactor system space access checks branch: gh-3250-system-space-access src/box/alter.cc | 280 ++++++++++++++++++++++++--------------- src/box/lua/schema.lua | 109 +++++++-------- src/box/schema.cc | 105 +++++++++++++++ src/box/schema.h | 14 ++ src/box/space.c | 3 +- src/box/space.h | 17 ++- src/box/sysview_engine.c | 1 + src/box/sysview_index.c | 86 +++++++----- src/box/user.h | 7 + test/box/access.result | 213 ++++++++++++++++++++++++----- test/box/access.test.lua | 92 +++++++++---- test/box/access_bin.result | 16 ++- test/box/access_bin.test.lua | 4 +- test/box/access_misc.result | 46 +++++-- test/box/access_misc.test.lua | 14 +- test/box/access_sysview.result | 11 +- test/box/access_sysview.test.lua | 6 +- test/box/ddl.result | 4 + test/box/ddl.test.lua | 2 + test/box/net.box.result | 6 + test/box/net.box.test.lua | 2 + test/box/on_replace.result | 8 +- test/box/role.result | 27 +++- test/box/role.test.lua | 13 +- test/box/sequence.result | 20 +-- test/box/sequence.test.lua | 11 +- test/box/transaction.result | 18 ++- test/box/transaction.test.lua | 4 + test/engine/iterator.result | 2 +- test/engine/savepoint.result | 12 +- test/engine/truncate.result | 2 +- 31 files changed, 838 insertions(+), 317 deletions(-) -- 2.7.4