horaedb icon indicating copy to clipboard operation
horaedb copied to clipboard

Support setting query&write rejection information in config.

Open chunshao90 opened this issue 2 years ago • 0 comments

Describe This Problem

Now we use curl to set the rejection information, when the server restarts, the rejection information will be lost.

curl --location --request POST 'http://localhost:5000/reject' \
--header 'Content-Type: application/json' \
-d '{
    "operation":"Add",
    "write_reject_list":["table_1"],
    "read_reject_list":["table_1"]
}'

Proposal

Support setting query&write rejection information in config.

Additional Context

No response

chunshao90 avatar Sep 15 '22 10:09 chunshao90