mirror of
https://github.com/usememos/memos.git
synced 2025-03-09 03:53:23 +08:00
chore: update acl list
This commit is contained in:
parent
0a0ccbf6e1
commit
6db427e396
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ var authenticationAllowlistMethods = map[string]bool{
|
||||||
"/memos.api.v2.MemoService/ListMemoResources": true,
|
"/memos.api.v2.MemoService/ListMemoResources": true,
|
||||||
"/memos.api.v2.MemoService/ListMemoRelations": true,
|
"/memos.api.v2.MemoService/ListMemoRelations": true,
|
||||||
"/memos.api.v2.MemoService/ListMemoComments": true,
|
"/memos.api.v2.MemoService/ListMemoComments": true,
|
||||||
|
"/memos.api.v2.LinkService/GetLinkMetadata": true,
|
||||||
}
|
}
|
||||||
|
|
||||||
// isUnauthorizeAllowedMethod returns whether the method is exempted from authentication.
|
// isUnauthorizeAllowedMethod returns whether the method is exempted from authentication.
|
||||||
|
|
Loading…
Reference in a new issue