mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-06 20:15:17 +02:00
Add comment permissions to Permission enum
This commit is contained in:
parent
ee68fb86d2
commit
b7a167dffe
1 changed files with 5 additions and 0 deletions
|
|
@ -152,6 +152,11 @@ class Permission(str, Enum):
|
||||||
CHATS_UPDATE = "chats:update"
|
CHATS_UPDATE = "chats:update"
|
||||||
CHATS_DELETE = "chats:delete"
|
CHATS_DELETE = "chats:delete"
|
||||||
|
|
||||||
|
# Comments
|
||||||
|
COMMENTS_CREATE = "comments:create"
|
||||||
|
COMMENTS_READ = "comments:read"
|
||||||
|
COMMENTS_DELETE = "comments:delete"
|
||||||
|
|
||||||
# LLM Configs
|
# LLM Configs
|
||||||
LLM_CONFIGS_CREATE = "llm_configs:create"
|
LLM_CONFIGS_CREATE = "llm_configs:create"
|
||||||
LLM_CONFIGS_READ = "llm_configs:read"
|
LLM_CONFIGS_READ = "llm_configs:read"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue