tokens: auth-token is not only for git/hg but also for svn.
Changed some docstrings to indicate this.
This commit is contained in:
parent
08000af552
commit
990143eae0
3 changed files with 3 additions and 3 deletions
|
|
@ -908,7 +908,7 @@ class UserApiKeys(Base, BaseModel):
|
|||
return {
|
||||
cls.ROLE_ALL: _('all'),
|
||||
cls.ROLE_HTTP: _('http/web interface'),
|
||||
cls.ROLE_VCS: _('vcs (git/hg protocol)'),
|
||||
cls.ROLE_VCS: _('vcs (git/hg/svn protocol)'),
|
||||
cls.ROLE_API: _('api calls'),
|
||||
cls.ROLE_FEED: _('feed access'),
|
||||
}.get(role, role)
|
||||
|
|
|
|||
|
|
@ -908,7 +908,7 @@ class UserApiKeys(Base, BaseModel):
|
|||
return {
|
||||
cls.ROLE_ALL: _('all'),
|
||||
cls.ROLE_HTTP: _('http/web interface'),
|
||||
cls.ROLE_VCS: _('vcs (git/hg protocol)'),
|
||||
cls.ROLE_VCS: _('vcs (git/hg/svn protocol)'),
|
||||
cls.ROLE_API: _('api calls'),
|
||||
cls.ROLE_FEED: _('feed access'),
|
||||
}.get(role, role)
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<div class="panel-body">
|
||||
<p>
|
||||
${_('Built-in tokens can be used to authenticate with all possible options.')}<br/>
|
||||
${_('Each token can have a role. VCS tokens can be used together with the authtoken auth plugin for git/hg operations.')}
|
||||
${_('Each token can have a role. VCS tokens can be used together with the authtoken auth plugin for git/hg/svn operations.')}
|
||||
</p>
|
||||
<table class="rctable auth_tokens">
|
||||
<tr>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue