提交 a9b55e9d 编写于 作者: K Kohsuke Kawaguchi

[FIXED JENKINS-7369] fixed confusing help message.

上级 f67a7495
<div>
Note that adding permissions for LDAP groups requires a specific syntax. In the
default configuration all LDAP groups must be entered here in all capital letters
and with "ROLE_" added on the front. For example, a group called "devs" would be
entered here as "ROLE_DEVS". The prefix and case settings may be adjusted by
editing the <tt>WEB-INF/security/LDAPBindSecurityRealm.groovy</tt> file in your
Jenkins deployment and restarting Jenkins.
<p>
A special group "authenticated" is also available, which represents all
authenticated (logged in) users.
</div>
<l:ajax xmlns:l="/lib/layout">
<div>
Different security realm has different conventions about group names.
The best way to go about it is to login and see what group names you belong to,
by going to <a href="${rootURL}/whoAmI" target="_new">this diagnostics page</a>.
<p>
A special group "authenticated" is also available, which represents all
authenticated (logged in) users.
</p>
</div>
</l:ajax>
<div>
Bitte beachten Sie, dass das Hinzufügen von Berechtigungen für LDAP-Gruppen
eine besondere Syntax erfordert. In den Standardeinstellungen müssen
LDAP-Gruppen immer komplett groß und mit einem "ROLE_" zu Beginn des Names
geschrieben werden. Dieser Prefix und die Groß- bzw. Kleinschrift kann durch
Bearbeitung der <tt>WEB-INF/security/LDAPBindSecurityRealm.groovy</tt>-Datei
und einem Neustart des Jenkins angepasst werden.
</div>
<l:ajax xmlns:l="/lib/layout">
<div>
LDAPのグループにパーミッションを追加するには、特別な文法が必要であることに注意してください。
デフォルトの設定では、すべて大文字で"ROLE_"で始まる必要があります。
例えば、"devs"というグループであれば、"ROLE_DEVS"と入力します。
ユーザー情報の取得先によってグループ名は異なる記法が使われることがあります。
最善の方法は、一度ユーザーでログインして、この<a href="${rootURL}/whoAmI" target="_new">診断ページ</a>に行って実際にJenkinsが使っているグループ名を見ることです。
<p>
接頭辞である"ROLE_"と大文字であるか小文字であるかを変更するには、Jenkinsのアーカイブに含まれる<tt>WEB-INF/security/LDAPBindSecurityRealm.groovy</tt>を編集して、
再起動します。
</div>
</l:ajax>
<div>
注意在添加LDAP权限组的时候需要用特殊语法.默认配置中的所有LDAP组在这里输入的时候都要加上一个前缀"ROLE_"并全部转为大写.
例如,一个被叫做"devs"的组在输入时应该是"ROLE_DEVS".要调整这个前缀策略你需要编辑<tt>WEB-INF/security/LDAPBindSecurityRealm.groovy</tt>,这个文件在你Jenkins的部属目录下,然后需要重启Jenkins.
<p>
有一个特殊的组"authenticated"总是可用的,它代表所有已认证(已登录)用户.
</div>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册