Add keytoken explanation to api_more.html

This commit is contained in:
2023-05-27 18:16:32 +02:00
parent 7d9a58ae54
commit a0c72f5b94
4 changed files with 68 additions and 16 deletions

View File

@@ -11,10 +11,10 @@ import (
type TokenPerm string //@enum:type
const (
PermAdmin TokenPerm = "A"
PermChannelRead TokenPerm = "CR"
PermChannelSend TokenPerm = "CS"
PermUserRead TokenPerm = "UR"
PermAdmin TokenPerm = "A" // Edit userdata (+ includes all othe permissions)
PermChannelRead TokenPerm = "CR" // Read messages
PermChannelSend TokenPerm = "CS" // Send messages
PermUserRead TokenPerm = "UR" // Read userdata
)
type TokenPermissionList []TokenPerm