无法创建索引

时间:2018-04-12 13:49:55

标签: python devpi

我的本​​地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

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

0 个答案:

没有答案