Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enhance](auth)when assigning permissions, the current user must have corresponding permissions (#32825) #33948

Merged
merged 2 commits into from
Apr 22, 2024

Conversation

morningman
Copy link
Contributor

bp #32825

zddr and others added 2 commits April 22, 2024 11:40
… corresponding permissions (apache#32825)

When authorizing other users or roles, not only need `grant_priv`,  also need the priv want to grant
for example :
The user executes the following SQL
```
grant select_priv,load_priv on db1.table1 to u1;
```
he need have grant_priv, select_priv and load_priv on db1.table1

```
grant usage_priv on resource r1 to u1;
```
he need to have grant_priv and usage_priv on u1
@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@morningman morningman merged commit ff5a4cb into apache:branch-2.1 Apr 22, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants