- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
08-17-2025 07:11 PM
「Hackathon25」に関する質問です。
■事象概要(Hackathon25関連)
以下のいずれの方法でも、[admin]ロールの反映がされない問題が発生しています:
- 新規作成したグループに[admin]ロールを付与 → 画面上にメッセージは表示されるが、Rolesタブに反映されない。
- 既に[admin]ロールが付与されている[ServiceNow Administrators]グループにユーザーを追加 → ユーザーにロールが反映されない。
- ユーザー単位で直接[admin]ロールを付与 → ①と同様に反映されない。
■実施手順
- Adminユーザーでインスタンスにログイン
- Hackathon関係者のユーザーとグループを作成
- グループにユーザーを追加
- グループに[admin]ロールを付与 → 反映されない(事象①)
■試した対応
- 英語・日本語両方のUIで操作
- キャッシュクリア
- ログイン・ログアウトの再試行
- [security_admin]ロールを付与して再実施
- 他のロール(itil、xx_adminなど)は正常に付与可能
Group Roles(sys_group_has_role)テーブルにも[admin]ロールの登録が確認できないため、単にUI上で表示されていないのではなく、ロール付与処理自体が内部で正常に実行されていない可能性があると考えています。
解決済! 解決策の投稿を見る。
- ラベル:
-
HackathonJapan
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
08-17-2025 07:34 PM
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.
This helps other users find accurate and useful information more easily
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
08-17-2025 07:34 PM
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.
This helps other users find accurate and useful information more easily