Tim Andersson has proposed merging ~andersson123/autopkgtest-cloud:fix-in_allowed_team-call into autopkgtest-cloud:master.
Requested reviews: Canonical's Ubuntu QA (canonical-ubuntu-qa) For more details, see: https://code.launchpad.net/~andersson123/autopkgtest-cloud/+git/autopkgtest-cloud/+merge/459338 -- Your team Canonical's Ubuntu QA is requested to review the proposed merge of ~andersson123/autopkgtest-cloud:fix-in_allowed_team-call into autopkgtest-cloud:master.
diff --git a/charms/focal/autopkgtest-web/webcontrol/request/submit.py b/charms/focal/autopkgtest-web/webcontrol/request/submit.py index 1110863..3466254 100644 --- a/charms/focal/autopkgtest-web/webcontrol/request/submit.py +++ b/charms/focal/autopkgtest-web/webcontrol/request/submit.py @@ -223,7 +223,7 @@ class Submit: not self.can_upload(requester, release, package_component, package) and not can_upload_any_trigger and requester not in ALLOWED_USERS_PERPACKAGE.get(package, []) - and not self.in_allowed_team(requester, package) + and not self.in_allowed_team(requester) ): raise ForbiddenRequest(package, ",".join(triggers))
-- Mailing list: https://launchpad.net/~canonical-ubuntu-qa Post to : canonical-ubuntu-qa@lists.launchpad.net Unsubscribe : https://launchpad.net/~canonical-ubuntu-qa More help : https://help.launchpad.net/ListHelp