# HG changeset patch # User Marcin Kuzminski # Date 2016-07-13 10:34:17 # Node ID 94cb44ca227ac7d1e5bc8c11fdec2dd70316eede # Parent d8a74f8590e83db41953ff22636a9cbb4a16098b tokens: auth-token is not only for git/hg but also for svn. Changed some docstrings to indicate this. diff --git a/rhodecode/lib/dbmigrate/schema/db_4_3_0_0.py b/rhodecode/lib/dbmigrate/schema/db_4_3_0_0.py --- 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 --- 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 --- 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.')}