Skip to content
Snippets Groups Projects

feat: extend C box API with new user methods

Merged 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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Denis Smirnov added 1 commit

    added 1 commit

    • d8873d91 - feat: extend C box API with new user methods

    Compare with previous version

  • Dmitry Ivanov unapproved this merge request

    unapproved this merge request

  • LGTM, but we need one more review

  • Dmitry Ivanov requested review from @Gerold103 and removed review request for @funbringer

    requested review from @Gerold103 and removed review request for @funbringer

  • Dmitry Ivanov resolved all threads

    resolved all threads

  • Denis Smirnov added 2 commits

    added 2 commits

    • 3e2e06f6 - 1 commit from branch picodata-submodule
    • 3e81a9a3 - feat: extend C box API with new user methods

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading