##// END OF EJS Templates
tokens: auth-token is not only for git/hg but also for svn....
marcink -
r442:94cb44ca default
parent child Browse files
Show More
@@ -908,7 +908,7 b' class UserApiKeys(Base, BaseModel):'
908 return {
908 return {
909 cls.ROLE_ALL: _('all'),
909 cls.ROLE_ALL: _('all'),
910 cls.ROLE_HTTP: _('http/web interface'),
910 cls.ROLE_HTTP: _('http/web interface'),
911 cls.ROLE_VCS: _('vcs (git/hg protocol)'),
911 cls.ROLE_VCS: _('vcs (git/hg/svn protocol)'),
912 cls.ROLE_API: _('api calls'),
912 cls.ROLE_API: _('api calls'),
913 cls.ROLE_FEED: _('feed access'),
913 cls.ROLE_FEED: _('feed access'),
914 }.get(role, role)
914 }.get(role, role)
@@ -908,7 +908,7 b' class UserApiKeys(Base, BaseModel):'
908 return {
908 return {
909 cls.ROLE_ALL: _('all'),
909 cls.ROLE_ALL: _('all'),
910 cls.ROLE_HTTP: _('http/web interface'),
910 cls.ROLE_HTTP: _('http/web interface'),
911 cls.ROLE_VCS: _('vcs (git/hg protocol)'),
911 cls.ROLE_VCS: _('vcs (git/hg/svn protocol)'),
912 cls.ROLE_API: _('api calls'),
912 cls.ROLE_API: _('api calls'),
913 cls.ROLE_FEED: _('feed access'),
913 cls.ROLE_FEED: _('feed access'),
914 }.get(role, role)
914 }.get(role, role)
@@ -5,7 +5,7 b''
5 <div class="panel-body">
5 <div class="panel-body">
6 <p>
6 <p>
7 ${_('Built-in tokens can be used to authenticate with all possible options.')}<br/>
7 ${_('Built-in tokens can be used to authenticate with all possible options.')}<br/>
8 ${_('Each token can have a role. VCS tokens can be used together with the authtoken auth plugin for git/hg operations.')}
8 ${_('Each token can have a role. VCS tokens can be used together with the authtoken auth plugin for git/hg/svn operations.')}
9 </p>
9 </p>
10 <table class="rctable auth_tokens">
10 <table class="rctable auth_tokens">
11 <tr>
11 <tr>
General Comments 0
You need to be logged in to leave comments. Login now