Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2216)

Unified Diff: appengine/logdog/coordinator/endpoints/logs/list.go

Issue 1970823005: LogDog: Add prefix registration endpoint. (Closed) Base URL: https://github.com/luci/luci-go@logdog-project-archivist-useconfig
Patch Set: Updated patchset dependency Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: appengine/logdog/coordinator/endpoints/logs/list.go
diff --git a/appengine/logdog/coordinator/endpoints/logs/list.go b/appengine/logdog/coordinator/endpoints/logs/list.go
index e40b0a3f72ca16fc0284104ff14eb831fa5ab73c..089dbf2cb38bd419b31a13e865d6c468ae51b246 100644
--- a/appengine/logdog/coordinator/endpoints/logs/list.go
+++ b/appengine/logdog/coordinator/endpoints/logs/list.go
@@ -91,7 +91,7 @@ func (s *server) List(c context.Context, req *logdog.ListRequest) (*logdog.ListR
// a list of streams to load.
if req.State && l.Project != "" {
c := c
- if err := coordinator.WithProjectNamespace(&c, l.Project); err != nil {
+ if err := coordinator.WithProjectNamespace(&c, l.Project, coordinator.NamespaceAccessREAD); err != nil {
// This should work, since the list would have rejected the namespace if
nodir 2016/05/19 16:43:17 s/list/decorated service/
dnj (Google) 2016/05/19 22:52:04 Done.
// the user was not a member, so a failure here is an internal error.
log.Fields{

Powered by Google App Engine
This is Rietveld 408576698