feat: extend C box API with new user methods
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; NO_DOC=picodata internal patch NO_CHANGELOG=picodata internal patch NO_TEST=picodata internal patch
Showing
- extra/exports 4 additions, 0 deletionsextra/exports
- src/box/box.cc 50 additions, 0 deletionssrc/box/box.cc
- src/box/box.h 40 additions, 0 deletionssrc/box/box.h
- test/app-tap/module_api.c 110 additions, 0 deletionstest/app-tap/module_api.c
- test/app-tap/module_api.test.lua 1 addition, 1 deletiontest/app-tap/module_api.test.lua
Loading
Please register or sign in to comment