Skip to content

Commit

Permalink
[doc](auth)new auth doc (apache#511)
Browse files Browse the repository at this point in the history
  • Loading branch information
zddr authored Apr 7, 2024
1 parent a15382d commit 004b15d
Show file tree
Hide file tree
Showing 10 changed files with 1,604 additions and 2 deletions.
344 changes: 344 additions & 0 deletions docs/admin-manual/privilege-ldap/authentication-and-authorization.md

Large diffs are not rendered by default.

56 changes: 56 additions & 0 deletions docs/sql-manual/sql-reference/Show-Statements/SHOW-PRIVILEGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---
{
"title": "Show Privileges",
"language": "en"
}
---

<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->

## SHOW-PRIVILEGES

### Name

SHOW PRIVILEGES

### Description

This statement is used to display all permission items.

grammar:

```SQL
SHOW PRIVILEGES
```

### Example

1. display all permission items

```SQL
SHOW PRIVILEGES
```

### Keywords

SHOW, PRIVILEGES

### Best Practice

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---
{
"title": "Show Privileges",
"language": "zh-CN"
}
---

<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->

## SHOW-PRIVILEGES

### Name

SHOW PRIVILEGES

### Description

该语句用于展示所有权限项。

语法:

```SQL
SHOW PRIVILEGES
```

### Example

1. 查看所有权限项

```SQL
SHOW PRIVILEGES
```

### Keywords

SHOW, PRIVILEGES

### Best Practice

Loading

0 comments on commit 004b15d

Please sign in to comment.