From e1b1e64dc3a77c0637866c17c95f0933a7d3bc0f Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Wed, 16 Feb 2022 22:18:23 +0200 Subject: [PATCH 39/39] database.lua: Add commented-out example of changing connection access level See osdn #43882 Signed-off-by: Marko Lindqvist --- lua/database.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lua/database.lua b/lua/database.lua index 68a13fbbf5..d837694b73 100644 --- a/lua/database.lua +++ b/lua/database.lua @@ -315,3 +315,8 @@ function database_free() dbh:close() end end + +-- Example of changing connection access level. +-- function conn_established(conn) +-- auth.set_cmdlevel(conn, ALLOW.info) +-- end -- 2.34.1