如何检查用户是否具有SELECT" WITH GRANT" Teradata中的选项?我知道如何使用DBC.ROLEMEMBERS和DBC.ALLROLERIGH获取权限列表,只是没有找到一种方法来检查" WITH GRANT"允许选项。
由于
答案 0 :(得分:3)
GrantAuthority
仅存在于AllRightsV
,UserGrantedRightsV
和UserRightsV
中,原因很简单:
5613 GRANT OPTION cannot be granted to a role.
Explanation: WITH GRANT OPTION can only be granted to users or databases.
Generated By: resname2 module.
For Whom: End User.
Remedy: Remove WITH GRANT OPTION and re-submit request.