refactor: use enums for privilege type and schema object type
Summary
- refactor: use enums for privilege type and schema object type
Split from !746 (merged) Close #409 (closed)
Ensure that
-
New code is covered by tests -
API is documented -
Changelog is up to date -
(if Lua API changed) Lua API version is bumped inluamod.rs
-
(if necessary) A follow-up doc issue is created in picodata/docs and linked here
Edited by Yaroslav Dynnikov