系统权限问题

发布于 2024-10-01 04:41:50 字数 263 浏览 0 评论 0原文

我有一个用户,例如 HR,它已被授予非常强大的系统权限“GRANT ANY PRIVILEGE”...该用户使用此权限并向其他用户授予一些权限...现在我想从 HR 撤销“GRANT ANY PRIVILEGE”并确定人力资源用户授予了哪些权限以及向谁授予(我想撤销他们的此权限)。

我知道oracle在元数据中只保存被授予者和特权而不是系统特权的授予者(与对象特权不同)...

如果您有任何想法,请回答..

非常感谢您在前面。

I have the user for example HR which has been granted very powerful system privilege "GRANT ANY PRIVILEGE"...This user used this privilege and granted some privileges to other users...Now I want to revoke "GRANT ANY PRIVILEGE" from HR and also identify what privileges and to whom did HR user grant(I want to revoke from them this privileges).

I know that oracle saves just grantee and privilege not grantor for system privileges(unlike object privileges) in the metadata...

If you have some idea please answer..

Thank you very much in previous.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

尐偏执 2024-10-08 04:41:50

ALL_COL_PRIVS 视图将显示授予者
ALL_TAB_PRIVS 视图将显示授予者
TABLE_PRIVILEGES 视图将显示授予者

以及这些的用户版本。

编辑

要查找 HR 授予的对象权限列表,请使用如下查询:

select * from all_tab_privs where grantor = 'HR';

我不知道如何检查系统级对象赠款

ALL_COL_PRIVS view will show grantor
ALL_TAB_PRIVS view will show grantor
TABLE_PRIVILEGES view will show grantor

plus the USER versions of those..

edit:

to find the list of object privileges granted by HR use a query like this:

select * from all_tab_privs where grantor = 'HR';

i do not know of a way to check system level object grants

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文