Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

fix: allow guests to view public memo comments

Johnny7053edae279a
diff --git a/server/router/api/v1/acl_config.go b/server/router/api/v1/acl_config.go
index 4045a7f5c..9958900b2 100644
--- a/server/router/api/v1/acl_config.go
+++ b/server/router/api/v1/acl_config.go
@@ -29,8 +29,9 @@ var PublicMethods = map[string]struct{}{
"/memos.api.v1.IdentityProviderService/ListIdentityProviders": {},
// Memo Service - public memos (visibility filtering done in service layer)
- "/memos.api.v1.MemoService/GetMemo": {},
- "/memos.api.v1.MemoService/ListMemos": {},
+ "/memos.api.v1.MemoService/GetMemo": {},
+ "/memos.api.v1.MemoService/ListMemos": {},
+ "/memos.api.v1.MemoService/ListMemoComments": {},
}
// IsPublicMethod checks if a procedure path is public (no authentication required).