系統、角色、物件相關許可權字典
以下是與角色、使用者以及系統、角色、物件相關許可權字典。
----許可權相關字典:
---檢視角色的字典:
Select * from dba_roles;
---檢視使用者的字典:
select * from dba_users;
select * from all_users;
select * from user_users;
---檢視使用者或角色系統許可權的字典:
select * from dba_sys_privs;
select * from user_sys_privs;
select * from role_sys_privs;
---檢視使用者或角色所擁有的角色:
select * from dba_role_privs;
select * from user_role_privs;
select * from role_role_privs;
---檢視使用者物件許可權字典:
select * from dba_tab_privs;
select * from all_tab_privs;
select * from user_tab_privs;
select * from role_tab_privs;
---擴充相關許可權:
Select * from USER_TAB_PRIVS_MADE
使用者物件上賦權者與被賦權者的歷史賦權情況
Select * from USER_TAB_PRIVS_RECD
使用者物件上擁有者與被賦予者的歷史賦權情況
Select * from USER_COL_PRIVS_MADE
使用者物件列上賦權者與被賦者的歷史賦權情況
Select * from USER_COL_PRIVS_RECD
使用者物件列上擁有者與被賦者的歷史賦權情況
--許可權相關所有字典:
TABLE_NAME
COMMENTS
1
DBA_AQ_AGENT_PRIVS
2
DBA_COL_PRIVS
All grants on columns in the database
3
DBA_ROLE_PRIVS
Roles granted to users and roles
4
DBA_RSRC_CONSUMER_GROUP_PRIVS
Switch privileges for consumer groups
5
DBA_RSRC_MANAGER_SYSTEM_PRIVS
system privileges for the resource manager
6
DBA_SYS_PRIVS
System privileges granted to users and roles
7
DBA_TAB_PRIVS
All grants on objects in the database
8
USER_AQ_AGENT_PRIVS
9
USER_COL_PRIVS
Grants on columns for which the user is the owner, grantor or grantee
10
USER_COL_PRIVS_MADE
All grants on columns of objects owned by the user
11
USER_COL_PRIVS_RECD
Grants on columns for which the user is the grantee
12
USER_ROLE_PRIVS
Roles granted to current user
13
USER_RSRC_CONSUMER_GROUP_PRIVS
Switch privileges for consumer groups for the user
14
USER_RSRC_MANAGER_SYSTEM_PRIVS
system privileges for the resource manager for the user
15
USER_SYS_PRIVS
System privileges granted to current user
16
USER_TAB_PRIVS
Grants on objects for which the user is the owner, grantor or grantee
17
USER_TAB_PRIVS_MADE
All grants on objects owned by the user
18
USER_TAB_PRIVS_RECD
Grants on objects for which the user is the grantee
19
ALL_COL_PRIVS
Grants on columns for which the user is the grantor, grantee, owner,
or an enabled role or PUBLIC is the grantee
20
ALL_COL_PRIVS_MADE
Grants on columns for which the user is owner or grantor
21
ALL_COL_PRIVS_RECD
Grants on columns for which the user, PUBLIC or enabled role is the grantee
22
ALL_TAB_PRIVS
Grants on objects for which the user is the grantor, grantee, owner,
or an enabled role or PUBLIC is the grantee
23
ALL_TAB_PRIVS_MADE
User's grants and grants on user's objects
24
ALL_TAB_PRIVS_RECD
Grants on objects for which the user, PUBLIC or enabled role is the grantee
25
ROLE_ROLE_PRIVS
Roles which are granted to roles
26
ROLE_SYS_PRIVS
System privileges granted to roles
27
ROLE_TAB_PRIVS
Table privileges granted to roles
28
SESSION_PRIVS
Privileges which the user currently has set
29
V$ENABLEDPRIVS
Synonym for V_$ENABLEDPRIVS
30
GV$ENABLEDPRIVS
Synonym for GV_$ENABLEDPRIVS
---系統許可權導圖字典:
sys@PROD>select name from sys.system_privilege_map
2 order by name;
NAME
-----------------------------------
ADMINISTER ANY SQL TUNING SET
ADMINISTER DATABASE TRIGGER
... ...
NAME
-----------------------------------
CREATE LIBRARY
CREATE MATERIALIZED VIEW
CREATE MEASURE FOLDER
CREATE MINING MODEL
CREATE OPERATOR
CREATE PROCEDURE
CREATE PROFILE
CREATE PUBLIC DATABASE LINK
CREATE PUBLIC SYNONYM
CREATE ROLE
CREATE ROLLBACK SEGMENT
... ...
SELECT ANY CUBE
SELECT ANY CUBE DIMENSION
SELECT ANY DICTIONARY
SELECT ANY MINING MODEL
SELECT ANY SEQUENCE
SELECT ANY TABLE
NAME
-----------------------------------
SELECT ANY TRANSACTION
SYSDBA
SYSOPER
UNDER ANY TABLE
UNDER ANY TYPE
UNDER ANY VIEW
UNLIMITED TABLESPACE
UPDATE ANY CUBE
UPDATE ANY CUBE BUILD PROCESS
UPDATE ANY CUBE DIMENSION
UPDATE ANY TABLE
209 rows selected.
#共有200多條相關授予許可權的導圖。
--例如將檢視資料庫所有字典授予給某個使用者:
GRANT SELECT ANY DICTIONARY to SUSKY;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31392094/viewspace-2131016/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 系統許可權相關資料字典
- Oracle的物件許可權、角色許可權、系統許可權Oracle物件
- 檢視角色裡包含的系統許可權、物件許可權和角色物件
- 系統,物件,角色許可權簡析物件
- Oracle 使用者、物件許可權、系統許可權Oracle物件
- pg許可權相關
- 角色許可權(Role)和系統許可權(System)的幾個澄清實驗
- 【Mysql】flushprivilges重新整理系統許可權相關表MySql
- Oracle許可權(二)許可權相關的動態效能檢視與資料字典檢視Oracle
- 基於角色的許可權系統的問題
- Oracle檢視使用者預設表空間、臨時表空間、系統許可權、物件許可權、角色許可權舉例說明Oracle物件
- 【Mysql】flush privilges 重新整理系統許可權相關表MySql
- 系統許可權傳遞和物件許可權傳遞的測試物件
- 和物件許可權相關的表table_privilege_map物件
- oracle物件與系統許可權小測Oracle物件
- Oracle許可權相關查詢Oracle
- oracle許可權相關檢視Oracle
- Oracle 查詢許可權角色Oracle
- Android系統許可權和root許可權Android
- APP許可權相關的東西APP
- DB2 public許可權相關DB2
- 關於許可權系統的設計
- 許可權系統:一文搞懂功能許可權、資料許可權
- MySQL許可權系統MySql
- Oracle系統許可權Oracle
- Oracle中使用者、角色、與許可權涉及的相關表及檢視Oracle
- Oracle資料庫的系統和物件許可權Oracle資料庫物件
- MySQL資料庫許可權體系入門(6)---管理表、列及程式相關許可權MySql資料庫
- Oracle角色許可權之Default RoleOracle
- Java Web角色許可權設計JavaWeb
- 續:關於許可權系統的設計
- 許可權系統:許可權應用服務設計
- mongodb 的許可權系統MongoDB
- 【JavaWeb】許可權管理系統JavaWeb
- 有贊許可權系統
- Android系統許可權Android
- 許可權系統設計
- 許可權系統跟進