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 4AA4521BBB for ; Fri, 8 Jun 2018 05:06:39 -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 xPmqe8tJ8m9R for ; Fri, 8 Jun 2018 05:06:39 -0400 (EDT) Received: from smtp48.i.mail.ru (smtp48.i.mail.ru [94.100.177.108]) (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 0977D21B9C for ; Fri, 8 Jun 2018 05:06:38 -0400 (EDT) From: Georgy Kirichenko Subject: [tarantool-patches] [PATCH 0/3] Object group privileges Date: Fri, 8 Jun 2018 12:06:31 +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: tarantool-patches@freelists.org Cc: Georgy Kirichenko Introduce spaces, functions and sequences privileges with some minor refactoring. Georgy Kirichenko : Overall review and fixes imarkov (3): box: Add privilleges constants to lua security: add limits on object_type-privilege pair Introduce privileges for object groups src/box/alter.cc | 18 ++++--- src/box/call.c | 2 + src/box/errcode.h | 2 +- src/box/lua/schema.lua | 87 +++++++++++++++++++++++++++------ src/box/lua/upgrade.lua | 40 +++++++-------- src/box/schema.cc | 8 +++ src/box/schema.h | 26 ++++++++++ src/box/sequence.c | 1 + src/box/space.c | 2 + src/box/sysview_index.c | 11 +++++ src/box/user.cc | 12 +++++ test/box/access.result | 94 ++++++++++++++++++++++++++++++++++++ test/box/access.test.lua | 38 ++++++++++++++- test/box/lua/identifier.lua | 1 - test/box/misc.result | 47 +++++++++--------- test/engine/iterator.result | 2 +- test/engine/savepoint.result | 12 ++--- 17 files changed, 330 insertions(+), 73 deletions(-) -- branch: https://github.com/tarantool/tarantool/tree/gh-3249-group-acl issue: https://github.com/tarantool/tarantool/issues/945 2.17.1