mirror of
https://github.com/usememos/memos.git
synced 2025-10-10 06:16:35 +08:00
fix: acl config
This commit is contained in:
parent
c4a24bead6
commit
17ecfb5cf5
1 changed files with 2 additions and 0 deletions
|
@ -15,11 +15,13 @@ var authenticationAllowlistMethods = map[string]bool{
|
|||
"/memos.api.v1.UserService/GetUserAvatarBinary": true,
|
||||
"/memos.api.v1.UserService/SearchUsers": true,
|
||||
"/memos.api.v1.MemoService/GetMemo": true,
|
||||
"/memos.api.v1.MemoService/GetMemoByUid": true,
|
||||
"/memos.api.v1.MemoService/ListMemos": true,
|
||||
"/memos.api.v1.MemoService/ListMemoTags": true,
|
||||
"/memos.api.v1.MemoService/SearchMemos": true,
|
||||
"/memos.api.v1.MarkdownService/GetLinkMetadata": true,
|
||||
"/memos.api.v1.ResourceService/GetResourceBinary": true,
|
||||
"/memos.api.v1.ResourceService/GetResourceByUid": true,
|
||||
}
|
||||
|
||||
// isUnauthorizeAllowedMethod returns whether the method is exempted from authentication.
|
||||
|
|
Loading…
Add table
Reference in a new issue