legacy-knowledge-base
公開されました Jul. 2, 2025

UserロールにAdministratorロールを表示する権限がないと、ロールを割り当てられない

written-by

Kanchan Bisht

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • Administrator ロールのユーザーの表示権限が取り消された場合、新しいロールを割り当てることはできません。
    再現するための手順
    1) Liferayサーバーを起動
    2) 管理者としてログイン
    3) ロールを作成し、例えば 'testRole' と呼び、以下の権限を付与する:
    Portal: View Control Panel Menu
    Users and Organizations: Access in Control Panel
    Users and Organizations: View
    Users and Organizations > Organization: View
    Users and Organizations > Organization: View Members
    Users and Organizations > User: Update
    Users and Organizations > User: View
    4) 今すぐどうぞ、> 権限
    'testRole'にメンバーの閲覧および割り当ての権限を付与する
    5) コントロールパネルに移動する-。> ユーザー & 組織 -> ユーザー
    6) ユーザー(testuser1)を作成し、「testRole」を付与してパスワードを与える'
    7) 別のユーザー(パスワードなど必要ない)を作成
    8) testuser1としてログインする。
    9) コントロールパネル ->ユーザーと組織 -> ユーザー
    チェックポイントに移動します: ユーザーのロールが付与されていることに注意してください。 取り外した後、Administratorユーザーに戻る。
    10) 管理者として、コントロールパネル -> 役割
    11) 管理者の役割 -> 権限
    の隣にある3つの点をクリック 12) デフォルトのユーザー役割からビュー役割を取り消す
    13) 次に testuser1 アカウントに戻って、他のユーザーに Portal コンテンツレビューアを与えてみる
    期待される動作: testuser1 は、まだロールを付与することができます
    観察された動作: UI 上で "You do not have the required permissions" エラーが表示される。fail.png

Environment

  • Liferay DXP 7.3

解決策

  • 観測された動作は Liferay DXP の既知のバグで、 Liferay DXP 7.3 SP4で対処されています。
  • この問題に対してHotfixが必要な場合は、パッチの詳細を添付して、Hotfixを要求するサポートチケットを作成してください。
  • Liferay DXPへのFix PackとHotfixのインストール それぞれの環境でのHotfixのインストールをご案内します。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base