aboutsummaryrefslogtreecommitdiff
path: root/app/blueprints/gitlab/__init__.py
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2020-04-21 19:27:34 +0100
committerrubenwardy <rw@rubenwardy.com>2020-04-21 19:27:34 +0100
commita678a61c23cd61f11d7c0a570f26e9d333bb9731 (patch)
treeaab17fbab1456f2d55ff5553f6161c0f05aa7985 /app/blueprints/gitlab/__init__.py
parentb5ce0a786a1fac846e3de4e7dfe8ea4a27d81f2b (diff)
downloadcheatdb-a678a61c23cd61f11d7c0a570f26e9d333bb9731.tar.xz
Correct documentation on users allowed to use webhooks
Diffstat (limited to 'app/blueprints/gitlab/__init__.py')
-rw-r--r--app/blueprints/gitlab/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/blueprints/gitlab/__init__.py b/app/blueprints/gitlab/__init__.py
index 45b4aa5..84061d7 100644
--- a/app/blueprints/gitlab/__init__.py
+++ b/app/blueprints/gitlab/__init__.py
@@ -44,7 +44,7 @@ def webhook():
return error(403, "Invalid authentication")
if not package.checkPerm(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