diff options
Diffstat (limited to 'app/templates')
| -rw-r--r-- | app/templates/packages/view.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/templates/packages/view.html b/app/templates/packages/view.html index e5ab1e4..9dce0d4 100644 --- a/app/templates/packages/view.html +++ b/app/templates/packages/view.html @@ -364,7 +364,7 @@ </ul> </div> - {% if package.getIsOnGitHub() %} + {% if package.author == current_user and package.checkPerm(current_user, "APPROVE_RELEASE") and package.getIsOnGitHub() %} <p class="small text-centered"> <a href="{{ url_for('github.setup_webhook', pid=package.id) }}"> Set up a webhook |
