#access_admin()
#set ($obj = $packagelists)
#set ($module = "packagelists")
#set ($r = $obj.load($params.key))
#set ($repo = $repositories)
#set ($r = $repo.load($params.repo))
#if ($r)
$obj.addRepository($repo)
#end
