You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/10/09 04:11:45 UTC

[GitHub] [shardingsphere] xue2lang opened a new issue #12953: sharding proxy , how can i configure authority db for user in yaml , have any suggestions???

xue2lang opened a new issue #12953:
URL: https://github.com/apache/shardingsphere/issues/12953


   ## Question
   
   **For English only**, other languages will not accept.
   **when use sharding 4.x**,which db permissions the user has can configure it in yaml file or config center,
   
   **but in 5.0.0-beta** ,i see the proxy example ,permissions also configure in server.yaml,but rules add  provider property(type only support NATIVE OR ALL_PRIVILEGES_PERMITTED),type=ALL_PRIVILEGES_PERMITTED certainly not,so only use type=NATIVE,but this user is a logic user,when use  type=NATIVE,then user is a physical user in actual。
   
   **so how can i configure the user??? have any suggestions???**
   
   ```xml
   server.yaml file
   #rules:
   #  - !AUTHORITY
   #    users:
   #      - root@%:root
   #      - sharding@:sharding
   #    provider:
   #      type: NATIVE
   ```
   
   Before asking a question, make sure you have:
   
   - Googled your question.
   - Searched open and closed [GitHub issues](https://github.com/apache/shardingsphere/issues).
   - Read documentation: [ShardingSphere Doc](https://shardingsphere.apache.org/document/current/en/overview).
   
   Please pay attention on issues you submitted, because we maybe need more details. 
   If no response anymore and we cannot reproduce it on current information, we will **close it**.
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] RaigorJiang commented on issue #12953: sharding proxy , how can i configure authority db for user in yaml , have any suggestions???

Posted by GitBox <gi...@apache.org>.
RaigorJiang commented on issue #12953:
URL: https://github.com/apache/shardingsphere/issues/12953#issuecomment-939385972


   @xue2lang  You are welcome.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] xue2lang commented on issue #12953: sharding proxy , how can i configure authority db for user in yaml , have any suggestions???

Posted by GitBox <gi...@apache.org>.
xue2lang commented on issue #12953:
URL: https://github.com/apache/shardingsphere/issues/12953#issuecomment-939384010


   > Hi @xue2lang You may want to see `SCHEMA_PRIVILEGES_PERMITTED`: #10998
   
   @RaigorJiang 3Q


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] xue2lang closed issue #12953: sharding proxy , how can i configure authority db for user in yaml , have any suggestions???

Posted by GitBox <gi...@apache.org>.
xue2lang closed issue #12953:
URL: https://github.com/apache/shardingsphere/issues/12953


   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] RaigorJiang commented on issue #12953: sharding proxy , how can i configure authority db for user in yaml , have any suggestions???

Posted by GitBox <gi...@apache.org>.
RaigorJiang commented on issue #12953:
URL: https://github.com/apache/shardingsphere/issues/12953#issuecomment-939236295


   Hi @xue2lang 
   You may want to see `SCHEMA_PRIVILEGES_PERMITTED`: #10998


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org