From a678a61c23cd61f11d7c0a570f26e9d333bb9731 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Tue, 21 Apr 2020 19:27:34 +0100 Subject: Correct documentation on users allowed to use webhooks --- app/blueprints/github/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/blueprints/github') diff --git a/app/blueprints/github/__init__.py b/app/blueprints/github/__init__.py index a07920c..2eb4f64 100644 --- a/app/blueprints/github/__init__.py +++ b/app/blueprints/github/__init__.py @@ -124,7 +124,7 @@ def webhook(): return error(403, "Invalid authentication, couldn't validate API token") if not package.checkPerm(actual_token.owner, Permission.APPROVE_RELEASE): - return error(403, "Only trusted members can use webhooks") + return error(403, "You do not have the permission to approve releases") # # Check event -- cgit v1.2.3