docs: description of user privileges

This commit is contained in:
kailixu 2024-12-06 15:25:56 +08:00
parent 9c2e0284fd
commit 925a500118
3 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@ alter_user_clause: {
- PASS: Change the password, followed by the new password
- ENABLE: Enable or disable the user, `1` means enable, `0` means disable
- SYSINFO: Allow or prohibit viewing system information, `1` means allow, `0` means prohibit
- CREATEDB: Allow or prohibit creating databases, `1` means allow, `0` means prohibit
- CREATEDB: Allow or prohibit creating databases, `1` means allow, `0` means prohibit. // Supported starting from TDengine Enterprise version 3.3.2.0
The following example disables the user named `test`:

View File

@ -78,7 +78,7 @@ alter_user_clause: {
- PASS: 修改密码,后跟新密码
- ENABLE: 启用或禁用该用户,`1` 表示启用,`0` 表示禁用
- SYSINFO: 允许或禁止查看系统信息,`1` 表示允许,`0` 表示禁止
- CREATEDB: 允许或禁止创建数据库,`1` 表示允许,`0` 表示禁止
- CREATEDB: 允许或禁止创建数据库,`1` 表示允许,`0` 表示禁止. // 从 TDengine 企业版 3.3.2.0 开始支持
下面的示例禁用了名为 `test` 的用户: