morningman opened a new pull request #1472: Support grant GRANT_PRIV on database or table level URL: https://github.com/apache/incubator-doris/pull/1472 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.
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
