You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by GitBox <gi...@apache.org> on 2019/07/14 14:19:16 UTC
[GitHub] [incubator-doris] morningman opened a new issue #1473: Support
grant GRANT_PRIV on database or table level
morningman opened a new issue #1473: Support grant GRANT_PRIV on database or table level
URL: https://github.com/apache/incubator-doris/issues/1473
Currently, GRANT_PRIV can only be granted on global level, which means
it can only be granted on `*.*`. Grant it on `db.*` or `db.tbl` are not allowed.
This will not be able to meet the requirement to create a user who has privilege
to grant privileges to other users on specified database or table, such as:
`GRANT SELECT_PRIV ON db1.* TO cmy@'%';`
So I extend the range of GRANT_PRIV. User can now grant GRANT_PRIV on
database or even table level, such as:
`GRANT GRANT_PRIV ON db1.* TO cmy@'%';`
And after being granted, the user `cmy@'%'` can now grant GRANT_PRIV on `db1.*` to
other users.
More details can be seen in `docs/documentation/cn/administrator-guide/privilege.md`
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@doris.apache.org
For additional commands, e-mail: dev-help@doris.apache.org