tokens: auth-token is not only for git/hg but also for svn.

Changed some docstrings to indicate this.
This commit is contained in:
Marcin Kuzminski 2016-07-13 12:34:17 +02:00
parent 08000af552
commit 990143eae0
3 changed files with 3 additions and 3 deletions

View file

@ -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)

View file

@ -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)

View file

@ -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>