Skip to main content

Enterprise Server 3.20 目前作为发布候选版本提供。

配置组织成员关系的可见性

您可以将企业中新组织成员的可见性设置为公开或私密。 您还可以阻止成员将其可见性从默认值更改为其他值。

You can also enforce your default setting on all current organization members in your instance using a command-line utility. For example, if you'd like to require every organization member's visibility to be public, you can set the default to public and enforce the default for all new members in the admin settings, and then use the command-line utility to enforce the public setting on existing members.

  1. In the top-right corner of GitHub Enterprise Server, click your profile picture, then click Enterprise settings.
  2. At the top of the page, click Policies.
  3. Under Policies, click Options.
  4. Under "Default organization membership visibility", select the drop-down menu, and click Private or Public.
  5. Optionally, to prevent members from changing their membership visibility from the default, select Enforce for all enterprise members.
    Screenshot of the "Default organization membership visibility" section. The "Enforce for all enterprise members" checkbox is outlined.
  6. If you'd like to enforce your new visibility setting on all existing members, use the ghe-org-membership-update command-line utility. For more information, see Command-line utilities.