当前位置:网站首页>Gbase 8C access authority query function (I)
Gbase 8C access authority query function (I)
2022-07-24 00:17:00 【Dazhuang twelve】
GBase 8c In the database ,DDL Class permissions ALTER、DROP、COMMENT、INDEX、VACUUM Belongs to the inherent rights of the owner , Implicitly own .
has_any_column_privilege(user, table, privilege)
describe : Specify whether the user has access to any column of the table .
surface 1 Parameter type description
Parameter name | Legal input type |
user | name, oid |
table | text, oid |
privilege | text |
Return type :Boolean
has_any_column_privilege(table, privilege)
describe : Whether the current user has access to any column of the table , Legal parameter types are shown in table 5-12.
Return type :Boolean
remarks :has_any_column_privilege Check whether the user accesses any columns of the table in a specific way . Its parameters may be similar to has_table_privilege similar , Except that the access permission type must be SELECT、INSERT、UPDATE、COMMENT or REFERENCES Some combinations of .
Having the table level permission of the table implies having the column level permission of each column of the table , So if it is related to has_table_privilege Parameters are the same ,has_any_column_privilege Always returns true. However, if you grant column level permissions to at least one column, it also returns success .
has_column_privilege(user, table, column, privilege)
describe : Specify whether the user has access to the column .
surface 2 Parameter type description
Parameter name | Legal input type |
user | name, oid |
table | text, oid |
column | text, smallint |
privilege | text |
Return type :Boolean
边栏推荐
- Linked list - 206. Reverse linked list (this question is very important)
- The universal esp32c3 configures partition tables based on the Arduino ide framework
- Deep learning 9 feedforward neural network 2: realize feedforward neural network and model optimization
- Space shooting lesson 08: improved collision
- day2
- GBase 8c 会话信息函数(一)
- GBase 8c 访问权限查询函数(一)
- docker 拉取redis镜像 并运行
- [hcip] OSPF experiment under mGRE environment, including multi process bidirectional republication and OSPF special area
- [attack and defense world web] difficulty five-star 15 point advanced question: bug
猜你喜欢

My meeting of OA project (query)

子矩阵的和

Docker builds sonarqube, mysql5.7 environment

C语言之字符串函数一

蓝绿部署、金丝雀发布、A/B测试是什么

Deep learning 9 basic concepts of feedforward neural networks

IIS deployment.Netcore
![[attack and defense world web] difficulty five-star 15 point advanced question: bug](/img/24/4a7f074aac9a08130cf215f0c39b57.png)
[attack and defense world web] difficulty five-star 15 point advanced question: bug

力扣刷题训练之超简单

The implementation in Oracle replaces the specified content of the specified column with the desired content
随机推荐
Y75. Chapter IV Prometheus factory monitoring system and practice -- Prometheus alarm setting (VI)
Linked list - 206. Reverse linked list (this question is very important)
English语法_指示代词 - So
GBase 8c系统表信息函数(二)
iNFTnews | 呵护“雪山精灵”,42VERSE“数字生态保护”公益项目即将盛启
GBase 8c模式可见性查询函数(二)
[wechat applet] design and interactive implementation of auction product details page (including countdown and real-time update of bids)
July 23, 2022 - mapper file description
How to open a low commission account? Is it safe?
Deep learning 9 basic concepts of feedforward neural networks
Sum of submatrix
Jenkins uses sonarqube to build pipeline code review project
I like investing
Structured streaming programming model (input table, result table, output mode...)
As a programmer, is there anything you want to say to the newcomer?
GBase 8c 模式可见性查询函数(一)
Xmind用例导入到TAPD的方案(附代码)
GBase 8c 二进制字符串操作符
Docker builds sonarqube, mysql5.7 environment
[translation] Introduction to go RPC: Hello World