Skip to main content
ドキュメントへの更新が頻繁に発行されており、このページの翻訳はまだ行われている場合があります。 最新の情報については、「英語のドキュメント」を参照してください。

Promoting or demoting a site administrator

Site administrators can promote any normal user account to a site administrator, as well as demote other site administrators to regular users.

注: ユーザーの LDAP アクセスを構成するときに、LDAP 同期が有効で、Administrators group 属性が設定されている場合、それらのユーザーはインスタンスへのサイト管理者アクセス権を自動的に持ちます。 この場合、以下のステップで手動でユーザを昇格させることはできません。ユーザを昇格させるにはLDAPの管理者グループに追加してください。

Organization 所有者へのユーザーの昇格については、「コマンド ライン ユーティリティ」の ghe-org-admin-promote のセクションをご覧ください。

Enterprise設定からユーザを昇格させる

  1. GitHub Enterprise Server の右上で、ご自分のプロファイル写真をクリックしてから、 [Enterprise 設定] をクリックします。

    A screenshot of the drop-down menu that appears when you click the profile photo on GitHub Enterprise Server. The "Enterprise settings" option is highlighted in a dark orange outline.

  2. Enterprise アカウントのサイドバーで、 [ユーザー] をクリックします。 1. [ ユーザー] で、 [管理者] をクリックします。

  3. ページの右上隅にある Add owner をクリックします。

  4. 検索フィールドにユーザーの名前を入力して、 [追加] をクリックします。

Enterprise設定からサイト管理者を降格させる

  1. GitHub Enterprise Server の右上で、ご自分のプロファイル写真をクリックしてから、 [Enterprise 設定] をクリックします。

    A screenshot of the drop-down menu that appears when you click the profile photo on GitHub Enterprise Server. The "Enterprise settings" option is highlighted in a dark orange outline.

  2. Enterprise アカウントのサイドバーで、 [ユーザー] をクリックします。 1. [ ユーザー] で、 [管理者] をクリックします。

  3. ウィンドウの左上にある [Find an administrator] 検索フィールドに、降格させたい人物のユーザ名を入力します。

  4. 検索結果で降格するユーザーのユーザー名を見つけて、 ドロップダウン メニューを選び、 [メンバーに変換] をクリックします。

    エンタープライズ管理者の一覧のユーザーのスクリーンショット。 ケバブ アイコンのラベルが付いたドロップダウン メニューが、オレンジ色の枠線で強調表示されています。

コマンドラインからユーザを昇格させる

  1. アプライアンスに SSH で接続します。
  2. 昇格させるユーザー名を指定して ghe-user-promote を実行します。
    $ ghe-user-promote USERNAME

コマンドラインからサイト管理者を降格させる

  1. アプライアンスに SSH で接続します。
  2. 降格させるユーザー名を指定して ghe-user-demote を実行します。
    $ ghe-user-demote USERNAME