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..131f8c54388f26330ea0b2905789a181ee62ca1b 100644 |
--- a/appengine/logdog/coordinator/endpoints/logs/list.go |
+++ b/appengine/logdog/coordinator/endpoints/logs/list.go |
@@ -91,9 +91,10 @@ 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 { |
- // This should work, since the list would have rejected the namespace if |
- // the user was not a member, so a failure here is an internal error. |
+ if err := coordinator.WithProjectNamespace(&c, l.Project, coordinator.NamespaceAccessREAD); err != nil { |
+ // This should work, since the decorated service would have rejected the |
+ // namespace if the user was not a member, so a failure here is an |
+ // internal error. |
log.Fields{ |
log.ErrorKey: err, |
"project": l.Project, |