hub: Fix permissions in readPackageList()

The recent changes to kerberos principal handling broke proper reporting
of package ownership, due to an obvious typo.

Signed-off-by: Jim Foraker <foraker1@llnl.gov>
This commit is contained in:
Jim Foraker 2019-11-04 13:38:42 -08:00
parent a24af06343
commit b1aaf531aa

View file

@ -1114,7 +1114,7 @@ def readPackageList(tagID=None, userID=None, pkgID=None, event=None, inherit=Fal
JOIN package ON package.id = tag_packages.package_id
JOIN tag_package_owners ON
tag_packages.tag_id = tag_package_owners.tag_id AND
tag_packages.package_id = tag_packages.package_id
tag_packages.package_id = tag_package_owners.package_id
JOIN users ON users.id = tag_package_owners.owner
WHERE %(cond1)s AND %(cond2)s"""
if tagID != None: