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

Unified Diff: appengine/logdog/coordinator/endpoints/logs/service.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/service.go
diff --git a/appengine/logdog/coordinator/endpoints/logs/service.go b/appengine/logdog/coordinator/endpoints/logs/service.go
index d7000031994f99c8adf8dbefc35b690bd7446902..782766b98b158d58f62e409902aa25a2f7c5dec0 100644
--- a/appengine/logdog/coordinator/endpoints/logs/service.go
+++ b/appengine/logdog/coordinator/endpoints/logs/service.go
@@ -45,7 +45,7 @@ func newService(svr *server) logdog.LogsServer {
log.Fields{
"project": project,
}.Debugf(c, "User is accessing project.")
- if err := coordinator.WithProjectNamespace(&c, project); err != nil {
+ if err := coordinator.WithProjectNamespace(&c, project, coordinator.NamespaceAccessREAD); err != nil {
return nil, getGRPCError(c, err)
}
}

Powered by Google App Engine
This is Rietveld 408576698