2025-10-09 03:48:51 +07:00

314 lines
3.4 KiB
Markdown

## Default Permission
Default permissions for the vector-db plugin
#### This default permission set includes the following:
- `allow-get-status`
- `allow-create-collection`
- `allow-insert-chunks`
- `allow-create-file`
- `allow-search-collection`
- `allow-delete-chunks`
- `allow-delete-file`
- `allow-delete-collection`
- `allow-chunk-text`
- `allow-list-attachments`
- `allow-get-chunks`
## Permission Table
<table>
<tr>
<th>Identifier</th>
<th>Description</th>
</tr>
<tr>
<td>
`vector-db:allow-chunk-text`
</td>
<td>
Enables the chunk_text command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`vector-db:deny-chunk-text`
</td>
<td>
Denies the chunk_text command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`vector-db:allow-create-collection`
</td>
<td>
Enables the create_collection command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`vector-db:deny-create-collection`
</td>
<td>
Denies the create_collection command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`vector-db:allow-create-file`
</td>
<td>
Enables the create_file command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`vector-db:deny-create-file`
</td>
<td>
Denies the create_file command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`vector-db:allow-delete-chunks`
</td>
<td>
Enables the delete_chunks command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`vector-db:deny-delete-chunks`
</td>
<td>
Denies the delete_chunks command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`vector-db:allow-delete-collection`
</td>
<td>
Enables the delete_collection command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`vector-db:deny-delete-collection`
</td>
<td>
Denies the delete_collection command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`vector-db:allow-delete-file`
</td>
<td>
Enables the delete_file command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`vector-db:deny-delete-file`
</td>
<td>
Denies the delete_file command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`vector-db:allow-get-chunks`
</td>
<td>
Enables the get_chunks command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`vector-db:deny-get-chunks`
</td>
<td>
Denies the get_chunks command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`vector-db:allow-get-status`
</td>
<td>
Enables the get_status command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`vector-db:deny-get-status`
</td>
<td>
Denies the get_status command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`vector-db:allow-insert-chunks`
</td>
<td>
Enables the insert_chunks command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`vector-db:deny-insert-chunks`
</td>
<td>
Denies the insert_chunks command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`vector-db:allow-list-attachments`
</td>
<td>
Enables the list_attachments command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`vector-db:deny-list-attachments`
</td>
<td>
Denies the list_attachments command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`vector-db:allow-search-collection`
</td>
<td>
Enables the search_collection command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`vector-db:deny-search-collection`
</td>
<td>
Denies the search_collection command without any pre-configured scope.
</td>
</tr>
</table>