Update for cvsextras => packager rename.
This commit is contained in:
parent
079fcc8761
commit
6fc765f8a4
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue