<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: NIFI 1.14: User policy is not showing on the GUI in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NIFI-1-14-User-policy-is-not-showing-on-the-GUI/m-p/368214#M240101</link>
    <description>&lt;P&gt;Hello Bakho, did Matt's recommendation/suggestion solve your problem?&amp;nbsp; I am having the same issue using certificates created by the NiFi Toolkit.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Apr 2023 12:00:54 GMT</pubDate>
    <dc:creator>davehkd</dc:creator>
    <dc:date>2023-04-11T12:00:54Z</dc:date>
    <item>
      <title>NIFI 1.14: User policy is not showing on the GUI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIFI-1-14-User-policy-is-not-showing-on-the-GUI/m-p/323068#M229009</link>
      <description>&lt;P&gt;Dears,&lt;/P&gt;&lt;P&gt;I install NIFI 1.14 with a secure cluster. When open NIFI GUI, the user access policy and Users list is missing. I try single mode but the result is the same. First screen my new NIFI 1.14 version.Second screen old NIFI 1.11. How to add policy and users on NIFI1.14?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NIFI  1.14  new version" style="width: 230px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/32141i485986D6021B3D7B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="NIFI  1.14  new version" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;NIFI  1.14  new version&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NIFI 1.1 old version" style="width: 219px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/32142iBA10348A25FA0D5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="NIFI 1.1 old version" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;NIFI 1.1 old version&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 10:43:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIFI-1-14-User-policy-is-not-showing-on-the-GUI/m-p/323068#M229009</guid>
      <dc:creator>Bakho</dc:creator>
      <dc:date>2021-08-24T10:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: NIFI 1.14: User policy is not showing on the GUI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIFI-1-14-User-policy-is-not-showing-on-the-GUI/m-p/331260#M230855</link>
      <description>&lt;P&gt;Hi.&lt;BR /&gt;I hope you're okay.&lt;/P&gt;&lt;P&gt;how did you solve the problem?&lt;/P&gt;&lt;P&gt;I have the same problem and I don't know how solve it.&lt;/P&gt;&lt;P&gt;I have the latest nifi version, SSL, I did set Initial Admin and not worked.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 00:55:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIFI-1-14-User-policy-is-not-showing-on-the-GUI/m-p/331260#M230855</guid>
      <dc:creator>tiagot</dc:creator>
      <dc:date>2021-11-30T00:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: NIFI 1.14: User policy is not showing on the GUI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIFI-1-14-User-policy-is-not-showing-on-the-GUI/m-p/331343#M230864</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/91418"&gt;@Bakho&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/93932"&gt;@tiagot&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;NiFi 1.14.0 is the first Apache NiFi release that starts up secured by default:&lt;BR /&gt;&lt;A href="https://cwiki.apache.org/confluence/display/NIFI/Release+Notes#ReleaseNotes-Version1.14.0" target="_blank"&gt;https://cwiki.apache.org/confluence/display/NIFI/Release+Notes#ReleaseNotes-Version1.14.0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;NOTE&lt;/STRONG&gt;: when using the new&amp;nbsp;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#single_user_identity_provider" target="_self"&gt;Single-User-Provider&lt;/A&gt;, NiFi does not support setting new policies or adding additional users and groups via the UI.&amp;nbsp; The "single user" by default is authorized for what is needed to build dataflows.&amp;nbsp; So first make sure if you want to support multiple users, you configure your NiFi to use a different login provider or no login provider and use user/client certificates to authenticate via TLS.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you have already done the above, my guess here is that NiFi was launched for the first time before your initial admin identity was added/set.&lt;/P&gt;&lt;P&gt;The NiFi authorizers.xml controls authorization of authenticated users.&lt;BR /&gt;&lt;BR /&gt;The default setup utilizes the following providers:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    &amp;lt;userGroupProvider&amp;gt;
        &amp;lt;identifier&amp;gt;file-user-group-provider&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.authorization.FileUserGroupProvider&amp;lt;/class&amp;gt;
        &amp;lt;property name="Users File"&amp;gt;./conf/users.xml&amp;lt;/property&amp;gt;
        &amp;lt;property name="Legacy Authorized Users File"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Initial User Identity 1"&amp;gt;&amp;lt;/property&amp;gt;
    &amp;lt;/userGroupProvider&amp;gt;

    &amp;lt;accessPolicyProvider&amp;gt;
        &amp;lt;identifier&amp;gt;file-access-policy-provider&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.authorization.FileAccessPolicyProvider&amp;lt;/class&amp;gt;
        &amp;lt;property name="User Group Provider"&amp;gt;file-user-group-provider&amp;lt;/property&amp;gt;
        &amp;lt;property name="Authorizations File"&amp;gt;./conf/authorizations.xml&amp;lt;/property&amp;gt;
        &amp;lt;property name="Initial Admin Identity"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Legacy Authorized Users File"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Node Identity 1"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Node Group"&amp;gt;&amp;lt;/property&amp;gt;
    &amp;lt;/accessPolicyProvider&amp;gt;

    &amp;lt;authorizer&amp;gt;
        &amp;lt;identifier&amp;gt;managed-authorizer&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.authorization.StandardManagedAuthorizer&amp;lt;/class&amp;gt;
        &amp;lt;property name="Access Policy Provider"&amp;gt;file-access-policy-provider&amp;lt;/property&amp;gt;
    &amp;lt;/authorizer&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;The file-user-group-provider creates the users.xml file which holds your local created user and group associations (you would set your initial admin in the "Initial User Identity 1" property.&lt;BR /&gt;The file-access-policy-provider creates the authorizations.xml file and generates authorizations needed for the configured "Initial Admin Identity" property identity.&lt;BR /&gt;&lt;BR /&gt;NiFi will only generate these files if they do &lt;U&gt;&lt;STRONG&gt;NOT&lt;/STRONG&gt;&lt;/U&gt; already exist.&amp;nbsp; If your NiFi was started before you set the properties I described above for both "Initial User Identity 1" and&amp;nbsp;"Initial Admin Identity", the originally generated users.xml and authorizations.xml files would contain no users or authorizations.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I suggest verifying the configuration in your authorizers.xml file, removing the existing users.xml and authorizations.xml files, and then restart your NiFi.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you found this response assisted with your query, please take a moment to login and click on "&lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt;" below this post.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 16:25:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIFI-1-14-User-policy-is-not-showing-on-the-GUI/m-p/331343#M230864</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2021-11-30T16:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: NIFI 1.14: User policy is not showing on the GUI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIFI-1-14-User-policy-is-not-showing-on-the-GUI/m-p/368214#M240101</link>
      <description>&lt;P&gt;Hello Bakho, did Matt's recommendation/suggestion solve your problem?&amp;nbsp; I am having the same issue using certificates created by the NiFi Toolkit.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 12:00:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIFI-1-14-User-policy-is-not-showing-on-the-GUI/m-p/368214#M240101</guid>
      <dc:creator>davehkd</dc:creator>
      <dc:date>2023-04-11T12:00:54Z</dc:date>
    </item>
  </channel>
</rss>

