SQL Developer中的Data Redaction

SQL Developer中的Data Redaction用起来比命令行方便多了。可以选定表或视图,右键点击"遮盖保护"菜单。

但赋权方面有需要注意的地方。

假设Redact Admin是SYS,Redact User是HR。虽然SYS具备所有权限,但还是报以下错误。其实这个错误是针对Redact User即HR的。

赋予以下权限就好了:

sql 复制代码
grant select on Sys.redaction_policies to hr;
grant select on Sys.redaction_columns to hr;

接下来就可以创建策略了。

如果Redact Admin是其他用户,例如redact_admin,则还需要赋予以下权限:

sql 复制代码
grant execute on dbms_redact to redact_user;
相关推荐
云边有个稻草人几秒前
Ubuntu部署Prometheus与Alertmanager:服务接入和远程监控
数据库·ubuntu·prometheus
Hoxy.R3 分钟前
记录一次Oracle 19c RAC iSCSI会话反复重连:comm error (1020) 原因定位与解决
数据库·oracle
神王宝宝 王者小学9 小时前
HBase: 看上去很美
大数据·数据库·hbase
io无心9 小时前
Shardingsphere5分库分表
数据库·mysql
wWYy.10 小时前
Mysql:主键索引 唯一索引 普通索引 前缀索引
数据库·mysql
宝杰X710 小时前
Android Room3 多平台数据库
android·数据库
sky_81061314 小时前
Oracle ERP 各模块业务管理功能及底层表说明
数据库·oracle
YMatrix 官方技术社区15 小时前
CittaBase vs. Neo4j :原生图性能实测与混合检索实践
数据库·功能测试·ymatrix
闲猫16 小时前
LangChain / Integrations / Integrations by component / Tool
java·数据库·langchain
xqqxqxxq16 小时前
SQL 连接查询技术笔记
数据库·笔记·sql