varcher-me commented on issue #4143:
URL: https://github.com/apache/apisix/issues/4143#issuecomment-828222795


   > at step 1, when granting directory permissions, the command should be 
something like this
   > 
   > ```shell
   > etcdctl --endpoints=http://127.0.0.1:2379 role grant-permission apisix 
--prefix=true readwrite /apisix
   > ```
   > 
   > use `/apisix` not `/apisix/`
   
   Yes, I've already tried grant /apisix prefix to the user "apisix", problem 
still.
   
   the etcdctl command and return is here.
   
   `etcdctl role get role-apisix --user=root`
   (And enter password)
   
   Role role-apisix
   KV Read:
           /apisix
           [/apisix, /apisiy) (prefix /apisix)
           [/apisix/, /apisix0) (prefix /apisix/)
           /apisix/*
   KV Write:
           /apisix
           [/apisix, /apisiy) (prefix /apisix)
           [/apisix/, /apisix0) (prefix /apisix/)
           /apisix/*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to