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: [email protected]

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


Reply via email to