当前位置:网站首页>Gbase 8C access authority query function (III)
Gbase 8C access authority query function (III)
2022-07-24 00:17:00 【Dazhuang twelve】
has_directory_privilege(user, directory, privilege)
describe : Specify whether the user has access directory Authority .
surface 1 Parameter type description
Parameter name | Legal input type |
user | name, oid |
directory | text, oid |
privilege | text |
Return type :Boolean
has_directory_privilege(directory, privilege)
describe : Whether the current user has access directory Authority , See table for legal parameter types 1.
Return type :Boolean
has_foreign_data_wrapper_privilege(user, fdw, privilege)
describe : Specify whether the user has access to the external data wrapper .
surface 2 Parameter type description
Parameter name | Legal input type |
user | name, oid |
fdw | text, oid |
privilege | text |
Return type :Boolean
has_foreign_data_wrapper_privilege(fdw, privilege)
describe : Whether the current user has access to the external data wrapper . See table for legal parameter types 2.
Return type :Boolean
remarks :has_foreign_data_wrapper_privilege Check whether the user can access the external data wrapper in a specific way . Its parameters are similar has_table_privilege. The access permission type must be USAGE.
has_function_privilege(user, function, privilege)
describe : Specify whether the user has access to the function .
surface 3 Parameter type description
Parameter name | Legal input type |
user | name, oid |
function | text, oid |
privilege | text |
Return type :Boolean
has_function_privilege(function, privilege)
describe : Whether the current user has access to the function . See table for legal parameter types 3.
Return type :Boolean
remarks :has_function_privilege Check whether a user can access a function in the specified way . Its parameters are similar has_table_privilege. Use text characters instead of OID When you declare a function , Allowed types and regprocedure The data types are the same ( Please refer to object identifier type ). The access permission type must be EXECUTE、ALTER、DROP or COMMENT.
边栏推荐
猜你喜欢

The name in Qiankun subapplication package.json becomes the default path

OA项目之我的会议(查询)

高数_第1章空间解析几何与向量代数__两点距

What are blue-green deployment, Canary release and a/b test

webrtc 1对1 -基本架构与目录

Pipeline pipeline project is built by declarative and jenkinsfile under Jenkins

docker 拉取redis镜像 并运行
![[wechat applet] design and interactive implementation of auction product details page (including countdown and real-time update of bids)](/img/b5/dd4316b83ef4b80c36b532de658bb2.png)
[wechat applet] design and interactive implementation of auction product details page (including countdown and real-time update of bids)
![[Android kotlin] property, getter and setter](/img/f7/a3b79e3f7c4396a240eb5749c450d3.png)
[Android kotlin] property, getter and setter

kubernetes error
随机推荐
作为一个程序员,有什么想对新人说的吗?
Webrtc 1 to 1 - basic architecture and directory
FPGA - SPI bus control flash (3) including code
Material return on investment
【低代码】低代码发展的局限性
Multi table query_ External connection
理解多态,让不同的“人”做同一件事情会产生不同的结果
IIS deployment.Netcore
My meeting of OA project (query)
2022牛客多校联赛第二场 题解
vulnhub wpwn: 1
STL case - judges' scoring
English语法_指示代词 -such / the same
Sum of submatrix
IT基础英语
GBase 8c 访问权限查询函数(五)
Automatic escape processing in JMeter
高数_第1章空间解析几何与向量代数__两点距
[hcip] OSPF experiment under mGRE environment, including multi process bidirectional republication and OSPF special area
Inftnews | protect the "Snow Mountain Spirit", and the 42verse "digital ecological protection" public welfare project is about to start