You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/05/12 12:20:26 UTC

[GitHub] [apisix] vincentwc opened a new issue #4231: request help: 怎么根据不同的用户创建不同权限

vincentwc opened a new issue #4231:
URL: https://github.com/apache/apisix/issues/4231


   ### Issue description
   
   ### Environment、
   对于授权管理这一块不是很了解,也看了官网的相关资料
   https://apisix.apache.org/zh/docs/apisix/plugins/key-auth
   但是好像没有关于不同用户的权限操作?
   * apisix version (cmd: `apisix version`):
   * OS (cmd: `uname -a`):
   * OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   * etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   * apisix-dashboard version, if have:
   * luarocks version, if the issue is about installation (cmd: `luarocks --version`):
   


-- 
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:
users@infra.apache.org



[GitHub] [apisix] vincentwc commented on issue #4231: request help: 怎么根据不同的用户创建不同权限

Posted by GitBox <gi...@apache.org>.
vincentwc commented on issue #4231:
URL: https://github.com/apache/apisix/issues/4231#issuecomment-840217538


   
   
   
   
   > You can configure different authentication plugins on `consumer`, and enable related authentication plugins in routing. If you want to implement different routes with different permissions, then you can refer to the use of the [consumer-restriction](https://github.com/apache/apisix/blob/master/docs/en/latest/plugins/consumer-restriction.md) plugin.
   
   got it ,thanks


-- 
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:
users@infra.apache.org



[GitHub] [apisix] vincentwc closed issue #4231: request help: 怎么根据不同的用户创建不同权限

Posted by GitBox <gi...@apache.org>.
vincentwc closed issue #4231:
URL: https://github.com/apache/apisix/issues/4231


   


-- 
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:
users@infra.apache.org



[GitHub] [apisix] Firstsawyou commented on issue #4231: request help: 怎么根据不同的用户创建不同权限

Posted by GitBox <gi...@apache.org>.
Firstsawyou commented on issue #4231:
URL: https://github.com/apache/apisix/issues/4231#issuecomment-839810218


   You can configure different authentication plugins on `consumer`, and enable related authentication plugins in routing. If you want to implement different routes with different permissions, then you can refer to the use of the [consumer-restriction](https://github.com/apache/apisix/blob/master/docs/en/latest/plugins/consumer-restriction.md) plugin.


-- 
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:
users@infra.apache.org