From 990143eae05c43a6fe91c5919b76b067ecbe7738 Mon Sep 17 00:00:00 2001 From: Marcin Kuzminski Date: Wed, 13 Jul 2016 12:34:17 +0200 Subject: [PATCH] tokens: auth-token is not only for git/hg but also for svn. Changed some docstrings to indicate this. --- rhodecode/lib/dbmigrate/schema/db_4_3_0_0.py | 2 +- rhodecode/model/db.py | 2 +- .../templates/admin/my_account/my_account_auth_tokens.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rhodecode/lib/dbmigrate/schema/db_4_3_0_0.py b/rhodecode/lib/dbmigrate/schema/db_4_3_0_0.py index 1cbcd99c..b88df0da 100644 --- a/rhodecode/lib/dbmigrate/schema/db_4_3_0_0.py +++ b/rhodecode/lib/dbmigrate/schema/db_4_3_0_0.py @@ -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) diff --git a/rhodecode/model/db.py b/rhodecode/model/db.py index 248d75cc..d000c943 100644 --- a/rhodecode/model/db.py +++ b/rhodecode/model/db.py @@ -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) diff --git a/rhodecode/templates/admin/my_account/my_account_auth_tokens.html b/rhodecode/templates/admin/my_account/my_account_auth_tokens.html index 8367e2c5..a9de1e83 100644 --- a/rhodecode/templates/admin/my_account/my_account_auth_tokens.html +++ b/rhodecode/templates/admin/my_account/my_account_auth_tokens.html @@ -5,7 +5,7 @@

${_('Built-in tokens can be used to authenticate with all possible options.')}
- ${_('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.')}