Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Bug] Users who already have GRANT_PRIV cannot create and grant new users #50371

Copy link
Copy link
Open
@lordk911

Description

@lordk911
Issue body actions

Search before asking

  • I had searched in the issues 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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.