Skip to content

feat: extend C box API with new user methods

Denis Smirnov requested to merge session_su into picodata-submodule

Introduce new methods:

  1. box_user_id_by_name - get the user identifier by name;
  2. box_effective_user_id - get current effective user identifier;
  3. box_session_user_id - get current session user identifier;
  4. box_session_su - change current session user;

Current MR is a part of the task to provide authentication for the cluster-wide sql in picodata. Next steps: wrap current API with tarantool module and use inside sbroad rust code to check permissions.

See also:

Edited by Denis Smirnov

Merge request reports