I can see a case where the API would need read-only access, but should not allow writes ... or maybe should allow certain parts of the "namespace" to be writable, other parts read-only, and others not accessible at all.
Suggestion: add a foks kv rest start option to specify what access level the REST server will have, obviously limited to the access level of the user who runs the command.
The foks kv put and foks kv mkdir commands' -w and -r options can be used to control which keys and directories are readable or writable to the API server.
I can see a case where the API would need read-only access, but should not allow writes ... or maybe should allow certain parts of the "namespace" to be writable, other parts read-only, and others not accessible at all.
Suggestion: add a
foks kv rest startoption to specify what access level the REST server will have, obviously limited to the access level of the user who runs the command.The
foks kv putandfoks kv mkdircommands'-wand-roptions can be used to control which keys and directories are readable or writable to the API server.