fix bug in moveAllBuilds
This commit is contained in:
parent
cfeae511e7
commit
d36635917f
1 changed files with 1 additions and 1 deletions
|
|
@ -7081,7 +7081,7 @@ class RootExports(object):
|
|||
#don't check policy for admins using force
|
||||
if not (force and context.session.hasPerm('admin')):
|
||||
for build in build_list:
|
||||
policy_data['build'] = build
|
||||
policy_data['build'] = build['id']
|
||||
assert_policy('tag', policy_data)
|
||||
#XXX - we're running this check twice, here and in host.tagBuild (called by the task)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue