2012年9月18日 星期二

gerrit OpenID authentication


192.168.200.143:8080/Documentation/access-control.html

If the Gerrit instance is configured to use OpenID authentication, an account’s effective group membership will be restricted to only the Anonymous Users and Registered Users groups, unless all of its OpenID identities match one or more of the patterns listed in the auth.trustedOpenID list from gerrit.config.

gerrit.config auth.trustedOpenID

To trust only Google Accounts:
git config --file $site_path/gerrit.config auth.trustedOpenID 'https://www.google.com/accounts/o8/id?id='

sudo git config --file /home/gerrit/playground/etc/gerrit.config auth.trustedOpenID 'https://www.google.com/accounts/o8/id?id='

沒有留言:

張貼留言