forked from github.com/pypiserver
Add multiple user auth to docs
This commit is contained in:
parent
568f901ace
commit
c79dd18ef6
|
@ -95,6 +95,9 @@ For legacy python versions, use ``pypiserver-1.1.x`` series.
|
|||
is not necessary, but `~/.pypirc` still need username and password fields,
|
||||
even if bogus.
|
||||
By default, only 'update' is password-protected.
|
||||
Multiple users can be given multiple actions. Use a dictionary of lists to define
|
||||
the actions allowed for each user.
|
||||
-P foo/htpasswd.txt -a {'user1': ['update'], 'user2': ['download', 'list']}
|
||||
|
||||
-P, --passwords PASSWORD_FILE
|
||||
use apache htpasswd file PASSWORD_FILE to set usernames & passwords when
|
||||
|
@ -382,8 +385,6 @@ https://github.com/dexterous/pypiserver-on-the-cloud contains
|
|||
instructions on how to run *pypiserver* on one of the supported cloud
|
||||
service providers.
|
||||
|
||||
|
||||
|
||||
Recipes
|
||||
=======
|
||||
|
||||
|
|
|
@ -59,6 +59,9 @@ def usage():
|
|||
is not necessary, but `~/.pypirc` still need username and password fields,
|
||||
even if bogus.
|
||||
By default, only 'update' is password-protected.
|
||||
Multiple users can be given multiple actions. Use a dictionary of lists to define
|
||||
the actions allowed for each user.
|
||||
-P foo/htpasswd.txt -a {'user1': ['update'], 'user2': ['download', 'list']}
|
||||
|
||||
-P, --passwords PASSWORD_FILE
|
||||
use apache htpasswd file PASSWORD_FILE to set usernames & passwords when
|
||||
|
|
Loading…
Reference in New Issue