X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-dev.git/blobdiff_plain/36854cb2fe5fa8b7d27e362c7e4e5d584b13c360..bf0b91f66f80e00c8fb6dfa102b8b71f9c0c96b1:/invirt-build-conf diff --git a/invirt-build-conf b/invirt-build-conf index cd0a750..8df29d2 100755 --- a/invirt-build-conf +++ b/invirt-build-conf @@ -61,6 +61,10 @@ def main(): print >>f, 'create repo /usr/bin/invirt-add-repo /etc/remctl/acl/repo_admin' with atomic_write(os.path.join(builder._REPO_DIR, '.k5login')) as f: + if 'repo_access' in config.build: + acl = authz.expandAdmin(config.build.repo_access) + princs = [userToPrinc(a) for a in acl] + all_devs.update(set(princs)) print >>f, '\n'.join(all_devs)