From 6fc765f8a4b8a80ca1b98a3413b87b0f46affe3a Mon Sep 17 00:00:00 2001 From: Ricky Zhou Date: Tue, 29 Jul 2008 00:32:58 -0400 Subject: [PATCH] Update for cvsextras => packager rename. --- scripts/upload.cgi/upload.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upload.cgi/upload.cgi b/scripts/upload.cgi/upload.cgi index 0226246..20e3798 100755 --- a/scripts/upload.cgi/upload.cgi +++ b/scripts/upload.cgi/upload.cgi @@ -107,8 +107,8 @@ pieces = os.environ['REQUEST_URI'].split('/') assert pieces[1] == 'repo' if do_userdb_auth: #need_auth = need_auth or not website.have_group(dbh, auth_username, 'cvs' + pieces[2]) - #need_auth = need_auth or not website.have_group(dbh, auth_username, 'cvsextras') - need_auth = need_auth or not auth_username in grp.getgrnam('cvsextras')[3] + #need_auth = need_auth or not website.have_group(dbh, auth_username, 'packager') + need_auth = need_auth or not auth_username in grp.getgrnam('packager')[3] auth_msg = "You do not have the appropriate authorization to upload. %s %s %s" % (dbh, auth_username, 'cvs' + pieces[2]) if need_auth: