当前位置:网站首页>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
边栏推荐
- Multi table query_ External connection
- Deep learning 9 feedforward neural network 2: realize feedforward neural network and model optimization
- Pytest interface automated testing framework | common running parameters of pytest
- STL案例-评委打分
- Solution to the second game of 2022 Niuke multi school league
- STL case - judges' scoring
- 总结谋划明方向 凝心聚力开新局——和数软件对口援疆项目显成效
- docker搭建sonarqube,mysql5.7环境
- 【HCIP】MGRE环境下OSPF实验,含多进程双向重发布及OSPF特殊区域
- YOLOv1
猜你喜欢
![[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

Redis 集群hash分片算法(槽位定位算法)

FPGA - SPI bus control flash (3) including code

【译】Go RPC 入门:Hello World

力扣刷题训练之超简单

String function 1 of C language

Sentinel link mode flow control failure solution

kubernetes error

jenkins下使用声明式(Declarative)和Jenkinsfile的方式构建Pipeline流水线项目

OA项目之我的会议(查询)
随机推荐
Summarize the plan, clarify the direction, concentrate and start a new situation -- the Counterpart Assistance Project of hexu software has achieved remarkable results
Sum of submatrix
JMeter中的自动转义处理
Redis数据结构
[wechat applet] design and interactive implementation of auction product details page (including countdown and real-time update of bids)
GBase 8c 访问权限查询函数(五)
Pytest interface automated test framework | pytest generates simple test reports
在原生终端实现类似 rz、sz 上传下载文件与目录的功能
作为一个程序员,有什么想对新人说的吗?
A lot of happiness in learning
Deep learning 9 basic concepts of feedforward neural networks
蓝绿部署、金丝雀发布、A/B测试是什么
Super simple training of force deduction and problem brushing
It basic English
GBase 8c系统表信息函数(三)
GBase 8c 字符串操作符
学习的快乐很多
GBase 8c系统表信息函数(二)
mysql数据库基础
English语法_指示代词 - So