【Hackathon25】adminロールをユーザーに付与できません

senon
Tera Sage

「Hackathon25」に関する質問です。

 

■事象概要(Hackathon25関連)

以下のいずれの方法でも、[admin]ロールの反映がされない問題が発生しています:

  1. 新規作成したグループに[admin]ロールを付与 → 画面上にメッセージは表示されるが、Rolesタブに反映されない。
    senon_0-1755482049765.png

  2. 既に[admin]ロールが付与されている[ServiceNow Administrators]グループにユーザーを追加 → ユーザーにロールが反映されない。
  3. ユーザー単位で直接[admin]ロールを付与 → ①と同様に反映されない。

 

■実施手順

  1. Adminユーザーでインスタンスにログイン
  2. Hackathon関係者のユーザーとグループを作成
  3. グループにユーザーを追加
  4. グループに[admin]ロールを付与 → 反映されない(事象①)

 

 

■試した対応

  • 英語・日本語両方のUIで操作
  • キャッシュクリア
  • ログイン・ログアウトの再試行
  • [security_admin]ロールを付与して再実施
  • 他のロール(itil、xx_adminなど)は正常に付与可能

senon_1-1755482589072.png

 

Group Roles(sys_group_has_role)テーブルにも[admin]ロールの登録が確認できないため、単にUI上で表示されていないのではなく、ロール付与処理自体が内部で正常に実行されていない可能性があると考えています。

senon_2-1755482904711.png

 

 

1 件の受理された解決策

Rafael Batistot
Tera Sage

Hi @senon 

 

The admin role cannot be assigned to other users in a standard way (via user, group, or sys_group_has_role). Only the original “System Administrator” account that comes with the instance has it. This is a platform security restriction.

 

That’s why:

  • You can assign roles like security_admin, itil, or any *_admin role — those are designed to be delegated.
  • You cannot assign admin manually — the platform blocks it.

 

Use the provided System Administrator account (the one that already has the admin role) for development during the Hackathon.

 

元の投稿で解決策を見る

1件の返信1

Rafael Batistot
Tera Sage

Hi @senon 

 

The admin role cannot be assigned to other users in a standard way (via user, group, or sys_group_has_role). Only the original “System Administrator” account that comes with the instance has it. This is a platform security restriction.

 

That’s why:

  • You can assign roles like security_admin, itil, or any *_admin role — those are designed to be delegated.
  • You cannot assign admin manually — the platform blocks it.

 

Use the provided System Administrator account (the one that already has the admin role) for development during the Hackathon.