0

我的本地devpi工作正常。我可以创建一个新用户,并以此新用户身份登录:

# Login as root
» devpi login root --password=
logged in 'root', credentials valid for 10.00 hours

# Create new user "sample"
» devpi user -c sample email=sample@sample.com password=1234
user created: sample

# Login as user "sample"
» devpi login sample --password 1234
logged in 'sample', credentials valid for 10.00 hours

但是当我尝试创建索引时,它会中断:

» devpi index -c sample/prod bases=root/pypi volatile=True
PUT http://devpi.mine/sample/prod
403 Forbidden: no permission to create index sample/prod

为什么不允许新创建的用户创建索引?

4

0 回答 0