diff --git a/.dredd/hooks/helpers.go b/.dredd/hooks/helpers.go index 3207d142..43708b17 100644 --- a/.dredd/hooks/helpers.go +++ b/.dredd/hooks/helpers.go @@ -107,7 +107,7 @@ func addUserProjectRelation(pid int, user int) { _, err := store.CreateProjectUser(db.ProjectUser{ ProjectID: pid, UserID: user, - Admin: true, + Role: db.ProjectOwner, }) if err != nil { panic(err)