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

Unified Diff: appengine/logdog/coordinator/hierarchy/hierarchy.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/hierarchy/hierarchy.go
diff --git a/appengine/logdog/coordinator/hierarchy/hierarchy.go b/appengine/logdog/coordinator/hierarchy/hierarchy.go
index 8f649e07b9a30945b9b9da6e8fe347275a5f6f55..5fc02a0c63a423fbce92fc27ffd5bf97d9cdb604 100644
--- a/appengine/logdog/coordinator/hierarchy/hierarchy.go
+++ b/appengine/logdog/coordinator/hierarchy/hierarchy.go
@@ -209,7 +209,7 @@ func Get(c context.Context, r Request) (*List, error) {
// Enter the supplied Project namespace. This will assert the the user has
// access to the project.
- if err := coordinator.WithProjectNamespace(&c, l.Project); err != nil {
+ if err := coordinator.WithProjectNamespace(&c, l.Project, coordinator.NamespaceAccessREAD); err != nil {
return nil, err
}

Powered by Google App Engine
This is Rietveld 408576698