From 89cc8f3239f824755d9d19b3b5877ff62900b787 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 5 Nov 2017 12:57:22 +0100 Subject: Refactor: change token generation to name the user --- yarns/400-build.yarn | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'yarns/400-build.yarn') diff --git a/yarns/400-build.yarn b/yarns/400-build.yarn index 0e030fd..31d0377 100644 --- a/yarns/400-build.yarn +++ b/yarns/400-build.yarn @@ -27,15 +27,15 @@ Set up the controller. GIVEN an RSA key pair for token signing AND controller config uses statedir at the state directory - AND a running ick controller - -Add up a project. - - GIVEN an access token for user with scopes + AND an access token for user with scopes ... uapi_projects_post ... uapi_projects_id_pipeline_id_put ... uapi_projects_id_pipeline_id_get ... uapi_projects_id_builds_get + AND a running ick controller + +Add up a project. + WHEN user makes request POST /projects ... { ... "project": "rome", -- cgit v1.2.1