当前位置:网站首页>Gbase 8C access authority access function (IV)
Gbase 8C access authority access function (IV)
2022-07-24 00:17:00 【Dazhuang twelve】
has_language_privilege(user, language, privilege)
describe : Specify whether the user has access to the language .
surface 1 Parameter type description
Parameter name | Legal input type |
user | name, oid |
language | text, oid |
privilege | text |
Return type :Boolean
has_language_privilege(language, privilege)
describe : Whether the current user has access to the language . See table for legal parameter types 1.
Return type :Boolean
remarks :has_language_privilege Check whether users can access a process language in a specific way . Its parameters are similar has_table_privilege. The access permission type must be USAGE.
has_nodegroup_privilege(user, nodegroup, privilege)
describe : Check whether the user has access to the database node .
Return type :Boolean
surface 2 Parameter type description
Parameter name | Legal input type |
user | name, oid |
nodegroup | text, oid |
privilege | text |
has_nodegroup_privilege(nodegroup, privilege)
describe : Check whether the user has access to the database node . Parameters and has_table_privilege similar . The access permission type must be USAGE、CREATE、COMPUTE、ALTER or CROP.
Return type :Boolean
has_schema_privilege(user, schema, privilege)
describe : Specify whether the user has permission to access the mode .
Return type :Boolean
has_schema_privilege(schema, privilege)
describe : Whether the current user has permission to access the mode .
Return type :Boolean
remarks :has_schema_privilege Check whether users can access a schema in a specific way . Its parameters are similar has_table_privilege. The access permission type must be CREATE、USAGE、ALTER、DROP or COMMENT Some combinations of .
has_server_privilege(user, server, privilege)
describe : Specify whether the user has access to external services .
Return type :Boolean
has_server_privilege(server, privilege)
describe : Whether the current user has access to external services .
Return type :Boolean
remarks :has_server_privilege Check whether the user can access an external server in the specified way . Its parameters are similar has_table_privilege. The access permission type must be USAGE、ALTER、DROP or COMMENT Value of one of .
has_table_privilege(user, table, privilege)
describe : Specify whether the user has access to the table .
Return type :Boolean
边栏推荐
- ansible命令自动补全
- Redis分布式锁待续
- Tencent will close the "magic core". Is there any resistance to the development of digital collections?
- GBase 8c 字符串操作符
- 【译】Go RPC 入门:Hello World
- Gbase 8C string Operator
- 单目标追踪——【相关滤波】MOSSE:Visual Object Tracking using Adaptive Correlation Filters
- Linked list - 707. Design linked list
- GBase 8c 访问权限查询函数(二)
- 二叉搜索树的简易实现及剖析
猜你喜欢

The differences between text and image drawing, data storage, localstorage, sessionstorage, and cookies
![[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

473-82(40、662、31、98、189)

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

腾讯将关闭“幻核”,数字藏品领域发展是否面临阻力?

Nacos

mysql数据库基础

Codeforces Round #807 (Div. 2)(A-D)

Take stock of 10 new layer1 to prepare for the next bull market

Multi knapsack explanation of dynamic programming knapsack problem
随机推荐
C language explanation series -- understanding of functions (2) how to use functions to exchange the values of two integer variables
Input and output of ACM mode
GBase 8c 二进制字符串操作符
Multi table query_ External connection
【语音合成】TensorFlowTTS 中文文本转语音
My meeting of OA project (query)
Intel Intel realsense realistic depth camera self calibration operation steps explanation D400 series is applicable
Pytest interface automation testing framework | multi process running case
Gbase 8C binary string operator
Splicing of.Net distribution with outlook mail format and table
As a programmer, is there anything you want to say to the newcomer?
Automatic escape processing in JMeter
The name in Qiankun subapplication package.json becomes the default path
[translation] Introduction to go RPC: Hello World
Inftnews | protect the "Snow Mountain Spirit", and the 42verse "digital ecological protection" public welfare project is about to start
Redis主从同步机制
As a programmer, is there anything you want to say to the newcomer?
力扣刷题训练之超简单
Joinable and detached of pthread
NGFW的Portal认证实验