allow access to build list of public projects
@@ -69,6 +69,12 @@ allow {
api.token.project.id = project
}
+allow {
+ api.method = "GET"
+ api.path = ["api", "v1", "projects", project, "builds"]
+ build_project_public( project )
+}
+
allow {
api.method = "GET"
api.path = ["api", "v1", "projects", project, "builds", _]
