You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "lordk911 (via GitHub)" <gi...@apache.org> on 2025/04/24 05:43:18 UTC

[I] [Bug] Users who already have GRANT_PRIV cannot create and grant new users [doris]

lordk911 opened a new issue, #50371:
URL: https://github.com/apache/doris/issues/50371

   ### Search before asking
   
   - [x] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
   2.1.7
   
   ### What's Wrong?
   
   https://doris-forum.org.cn/questions/D1yJ2/yi-jing-ju-you-grant-priv-de-yong-hu-wu-fa-chuang-jian-ji-shou-quan-xin-yong-hu
   
   Doris 2.0 was upgraded to 2.1.7. It was normal before the upgrade.
   
   Authorize a library administrator:
   
   `GRANT SELECT_PRIV,LOAD_PRIV,ALTER_PRIV,CREATE_PRIV,DROP_PRIV,GRANT_PRIV ON x.* TO 'x_admin';
   `
   
   When the library administrator creates a new user and grants permissions, an error is reported:
   
   ![Image](https://github.com/user-attachments/assets/fd726fd8-ae3f-4092-9a03-d9da0a5c55ed)
   
   
   ### What You Expected?
   
   a user could be database level 'DBA' , he/she can create and GRANT_PRIV new users.
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: commits-unsubscribe@doris.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] [Bug] Users who already have GRANT_PRIV cannot create and grant new users [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #50371:
URL: https://github.com/apache/doris/issues/50371#issuecomment-3429989579

   We're closing this issue because it hasn't been updated in a while.
   If you'd like to revive this issue, please reopen it and feel free a maintainer to remove the Stale tag!


-- 
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: commits-unsubscribe@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] [Bug] Users who already have GRANT_PRIV cannot create and grant new users [doris]

Posted by "lordk911 (via GitHub)" <gi...@apache.org>.
lordk911 commented on issue #50371:
URL: https://github.com/apache/doris/issues/50371#issuecomment-2826449753

   https://github.com/apache/doris/commit/5d7543b30b19a564956af01ff745bbe6b24e56f3#diff-bc6d98dd1302690fdcd7085e9e29d7aecc67c5fd4a05e9ab6ee9b46084e83930


-- 
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: commits-unsubscribe@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] [Bug] Users who already have GRANT_PRIV cannot create and grant new users [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #50371: [Bug] Users who already have GRANT_PRIV cannot create and grant new users
URL: https://github.com/apache/doris/issues/50371


-- 
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: commits-unsubscribe@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org