Skip to content
Snippets Groups Projects
Commit c2c32566 authored by Egor Ivkov's avatar Egor Ivkov
Browse files

wip

parent 881adb18
No related branches found
No related tags found
No related merge requests found
Pipeline #31561 passed
......@@ -3268,6 +3268,7 @@ pub mod acl {
/// Is idempotent: will not return an error even if the privilege is already granted.
pub fn on_master_grant_privilege(priv_def: &PrivilegeDef) -> tarantool::Result<()> {
let lua = ::tarantool::lua_state();
// TODO: if privilege is session - unlock user locally
lua.exec_with(
"local grantee_id, privilege, object_type, object_id = ...
local grantee_def = box.space._user:get(grantee_id)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment