From ab683dca426441a5f40a5ec9ff6b7833ffbfec61 Mon Sep 17 00:00:00 2001 From: Andrea Fazzi Date: Wed, 18 Dec 2019 13:00:45 +0100 Subject: [PATCH] Fix participant template --- handlers/role.go | 2 +- templates/responses_add_update.html.tpl | 2 +- templates/responses_show.html.tpl | 18 +++++++++++++++++- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/handlers/role.go b/handlers/role.go index 9686d894..92f35b87 100644 --- a/handlers/role.go +++ b/handlers/role.go @@ -27,7 +27,7 @@ var ( "participant": map[string][]int{ "Participant": []int{PermissionRead}, - "Response": []int{PermissionUpdate}, + "Response": []int{PermissionUpdate, PermissionRead}, }, "subscriber": map[string][]int{ diff --git a/templates/responses_add_update.html.tpl b/templates/responses_add_update.html.tpl index 71649082..78d3d42c 100644 --- a/templates/responses_add_update.html.tpl +++ b/templates/responses_add_update.html.tpl @@ -35,7 +35,7 @@ {{$checked = true}} {{end}} -