<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Error when User with "Add Role" permission tries to add a new Role</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=122611678" />
  <subtitle>Error when User with "Add Role" permission tries to add a new Role</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=122611678</id>
  <updated>2026-04-06T00:34:02Z</updated>
  <dc:date>2026-04-06T00:34:02Z</dc:date>
  <entry>
    <title>RE: Error when User with "Add Role" permission tries to add a new Role</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122663356" />
    <author>
      <name>Jamie Sammons</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122663356</id>
    <updated>2024-05-20T16:06:58Z</updated>
    <published>2024-05-20T16:06:58Z</published>
    <summary type="html">&lt;p&gt;Bug report created: https://liferay.atlassian.net/browse/LPD-26313&lt;/p&gt;</summary>
    <dc:creator>Jamie Sammons</dc:creator>
    <dc:date>2024-05-20T16:06:58Z</dc:date>
  </entry>
  <entry>
    <title>Error when User with "Add Role" permission tries to add a new Role</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122611677" />
    <author>
      <name>Christian Hofstätter</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122611677</id>
    <updated>2024-05-14T14:59:27Z</updated>
    <published>2024-05-07T08:25:12Z</published>
    <summary type="html">&lt;p&gt;When a User with the &amp;quot;Add Role&amp;quot; permission (but without the
  Global &amp;quot;View&amp;quot; permission) tries to add a new Role, they get
  an error page and the following is found in the logs:&lt;br&gt;
  &lt;strong&gt;
    &lt;em&gt;PrincipalException$MustHavePermission: User {userId} must have
      VIEW permission for com.liferay.portal.kernel.model.Role {roleId}&lt;/em&gt;
  &lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;​​​​​​​We want Users to be able to add Roles, but without seeing all
  the Roles of the Instance.&lt;/p&gt;</summary>
    <dc:creator>Christian Hofstätter</dc:creator>
    <dc:date>2024-05-07T08:25:12Z</dc:date>
  </entry>
</feed>
