Remove test "True" that breaks permissions on the Github trigger
This commit is contained in:
parent
a5a61576ae
commit
fe2430f158
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ def build_trigger_webhook(namespace, repository, trigger_uuid):
|
|||
logger.debug('Webhook received for %s/%s with uuid %s', namespace,
|
||||
repository, trigger_uuid)
|
||||
permission = ModifyRepositoryPermission(namespace, repository)
|
||||
if True or permission.can():
|
||||
if permission.can():
|
||||
try:
|
||||
trigger = model.get_build_trigger(namespace, repository, trigger_uuid)
|
||||
except model.InvalidBuildTriggerException:
|
||||
|
|
Reference in a new issue