<?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: Unable to add users in Apache NiFi Registry in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-add-users-in-Apache-NiFi-Registry/m-p/409095#M252810</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/126490"&gt;@asand3r&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Your issue is caused by a misconfiguration in the authorizers.xml file here:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    &amp;lt;userGroupProvider&amp;gt;
        &amp;lt;identifier&amp;gt;composite-configurable-user-group-provider&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.registry.security.authorization.CompositeUserGroupProvider&amp;lt;/class&amp;gt;
        &amp;lt;property name="User Group Provider 0"&amp;gt;file-user-group-provider&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Provider 1"&amp;gt;ldap-user-group-provider-1&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Provider 2"&amp;gt;ldap-user-group-provider-2&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Provider 3"&amp;gt;ldap-user-group-provider-3&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Provider 4"&amp;gt;ldap-user-group-provider-4&amp;lt;/property&amp;gt;
    &amp;lt;/userGroupProvider&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;The wrong "class" is being used and the wrong property name is being used for the file-user-group-provider.&amp;nbsp; It should look like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    &amp;lt;userGroupProvider&amp;gt;
        &amp;lt;identifier&amp;gt;composite-configurable-user-group-provider&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.registry.security.authorization.CompositeConfigurableUserGroupProvider&amp;lt;/class&amp;gt;
        &amp;lt;property name="Configurable User Group Provider"&amp;gt;file-user-group-provider&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Provider 1"&amp;gt;ldap-user-group-provider-1&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Provider 2"&amp;gt;ldap-user-group-provider-2&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Provider 3"&amp;gt;ldap-user-group-provider-3&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Provider 4"&amp;gt;ldap-user-group-provider-4&amp;lt;/property&amp;gt;
    &amp;lt;/userGroupProvider&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;The "class" needs to be:&lt;BR /&gt;&amp;nbsp;org.apache.nifi.registry.security.authorization.CompositeConfigurableUserGroupProvider&lt;/P&gt;&lt;P&gt;The above class support one defined "configurable user group provider".&amp;nbsp; A configurable user group provider (file-user-group-provider) is one that allows manual manipulation via the NiFi/NiFi-Registry UI.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help our community thrive. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Jun 2025 12:19:46 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2025-06-02T12:19:46Z</dc:date>
    <item>
      <title>Unable to add users in Apache NiFi Registry</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-add-users-in-Apache-NiFi-Registry/m-p/409088#M252809</link>
      <description>&lt;P&gt;Hello, everyone.&lt;/P&gt;&lt;P&gt;I have an issue with NiFi Registry 1.20 -- UI button "Add user" is inactive with Initial Admins account.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="asand3r_0-1748848521201.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/45589iB45CF22126181124/image-size/medium?v=v2&amp;amp;px=400" role="button" title="asand3r_0-1748848521201.png" alt="asand3r_0-1748848521201.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But, if I check the user permissions, it looks good enough:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="asand3r_1-1748848615772.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/45590iF16DF37CB6CC268D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="asand3r_1-1748848615772.png" alt="asand3r_1-1748848615772.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The Initial Admin user is LDAP user and also member of "nifi admins" LDAP group.&lt;/P&gt;&lt;P&gt;My authorizers.xml file:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&amp;gt;
&amp;lt;authorizers&amp;gt;
&amp;lt;userGroupProvider&amp;gt;
        &amp;lt;identifier&amp;gt;ldap-user-group-provider-1&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.registry.security.ldap.tenants.LdapUserGroupProvider&amp;lt;/class&amp;gt;
        &amp;lt;property name="Authentication Strategy"&amp;gt;LDAPS&amp;lt;/property&amp;gt;

        &amp;lt;property name="Manager DN"&amp;gt;user&amp;lt;/property&amp;gt;
        &amp;lt;property name="Manager Password"&amp;gt;password&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Keystore"&amp;gt;./conf/keystore.jks&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Keystore Password"&amp;gt;pass&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Keystore Type"&amp;gt;JKS&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Truststore"&amp;gt;./conf/truststore.jks&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Truststore Password"&amp;gt;pass&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Truststore Type"&amp;gt;JKS&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Client Auth"&amp;gt;None&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Protocol"&amp;gt;TLSv1.2&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Shutdown Gracefully"&amp;gt;&amp;lt;/property&amp;gt;

        &amp;lt;property name="Referral Strategy"&amp;gt;FOLLOW&amp;lt;/property&amp;gt;
        &amp;lt;property name="Connect Timeout"&amp;gt;10 secs&amp;lt;/property&amp;gt;
        &amp;lt;property name="Read Timeout"&amp;gt;60 secs&amp;lt;/property&amp;gt;

        &amp;lt;property name="Url"&amp;gt;ldaps://ldap.company.com&amp;lt;/property&amp;gt;
        &amp;lt;property name="Page Size"&amp;gt;500&amp;lt;/property&amp;gt;
        &amp;lt;property name="Sync Interval"&amp;gt;5 mins&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Membership - Enforce Case Sensitivity"&amp;gt;false&amp;lt;/property&amp;gt;       

        &amp;lt;property name="User Search Base"&amp;gt;ou&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Object Class"&amp;gt;user&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Search Scope"&amp;gt;SUBTREE&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Search Filter"&amp;gt;some filter&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Identity Attribute"&amp;gt;sAMAccountName&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Name Attribute"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Name Attribute - Referenced Group Attribute"&amp;gt;&amp;lt;/property&amp;gt;

        &amp;lt;property name="Group Search Base"&amp;gt;ou&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Object Class"&amp;gt;group&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Search Scope"&amp;gt;SUBTREE&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Search Filter"&amp;gt;some search filter&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Name Attribute"&amp;gt;cn&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Member Attribute"&amp;gt;member&amp;lt;/property&amp;gt;
        &amp;lt;property name="Group Member Attribute - Referenced User Attribute"&amp;gt;distinguishedName&amp;lt;/property&amp;gt;
    &amp;lt;/userGroupProvider&amp;gt;

    &amp;lt;userGroupProvider&amp;gt;
        &amp;lt;identifier&amp;gt;ldap-user-group-provider-2&amp;lt;/identifier&amp;gt;
        ....
    &amp;lt;/userGroupProvider&amp;gt;

    &amp;lt;userGroupProvider&amp;gt;
        &amp;lt;identifier&amp;gt;ldap-user-group-provider-3&amp;lt;/identifier&amp;gt;
        ....
    &amp;lt;/userGroupProvider&amp;gt;

    &amp;lt;userGroupProvider&amp;gt;
        &amp;lt;identifier&amp;gt;ldap-user-group-provider-4&amp;lt;/identifier&amp;gt;
        ....
    &amp;lt;/userGroupProvider&amp;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.registry.security.authorization.file.FileUserGroupProvider&amp;lt;/class&amp;gt;
        &amp;lt;property name="Users File"&amp;gt;/opt/nifi-registry/nifi-registry-current/conf/authorizations/users.xml&amp;lt;/property&amp;gt;
        &amp;lt;property name="Initial User Identity 1"&amp;gt;cn=some_init_user_for_nifi_01, ou=nifi&amp;lt;/property&amp;gt;
        &amp;lt;property name="Initial User Identity 2"&amp;gt;cn=some_init_user_for_nifi_02, ou=nifi&amp;lt;/property&amp;gt;
        &amp;lt;property name="Initial User Identity 3"&amp;gt;cn=some_init_user_for_nifi_03, ou=nifi&amp;lt;/property&amp;gt;
    &amp;lt;/userGroupProvider&amp;gt;

    &amp;lt;userGroupProvider&amp;gt;
        &amp;lt;identifier&amp;gt;composite-configurable-user-group-provider&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.registry.security.authorization.CompositeUserGroupProvider&amp;lt;/class&amp;gt;
        &amp;lt;property name="User Group Provider 0"&amp;gt;file-user-group-provider&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Provider 1"&amp;gt;ldap-user-group-provider-1&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Provider 2"&amp;gt;ldap-user-group-provider-2&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Provider 3"&amp;gt;ldap-user-group-provider-3&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Provider 4"&amp;gt;ldap-user-group-provider-4&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.registry.security.authorization.file.FileAccessPolicyProvider&amp;lt;/class&amp;gt;
        &amp;lt;property name="User Group Provider"&amp;gt;composite-configurable-user-group-provider&amp;lt;/property&amp;gt;
        &amp;lt;property name="Authorizations File"&amp;gt;/opt/nifi-registry/nifi-registry-current/conf/authorizations/authorizations.xml&amp;lt;/property&amp;gt;
        &amp;lt;property name="Initial Admin Identity"&amp;gt;init_admin_name&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.registry.security.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;
&amp;lt;/authorizers&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;Could you guess please what is wrong?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 07:51:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-add-users-in-Apache-NiFi-Registry/m-p/409088#M252809</guid>
      <dc:creator>asand3r</dc:creator>
      <dc:date>2025-06-02T07:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to add users in Apache NiFi Registry</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-add-users-in-Apache-NiFi-Registry/m-p/409095#M252810</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/126490"&gt;@asand3r&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Your issue is caused by a misconfiguration in the authorizers.xml file here:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    &amp;lt;userGroupProvider&amp;gt;
        &amp;lt;identifier&amp;gt;composite-configurable-user-group-provider&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.registry.security.authorization.CompositeUserGroupProvider&amp;lt;/class&amp;gt;
        &amp;lt;property name="User Group Provider 0"&amp;gt;file-user-group-provider&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Provider 1"&amp;gt;ldap-user-group-provider-1&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Provider 2"&amp;gt;ldap-user-group-provider-2&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Provider 3"&amp;gt;ldap-user-group-provider-3&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Provider 4"&amp;gt;ldap-user-group-provider-4&amp;lt;/property&amp;gt;
    &amp;lt;/userGroupProvider&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;The wrong "class" is being used and the wrong property name is being used for the file-user-group-provider.&amp;nbsp; It should look like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    &amp;lt;userGroupProvider&amp;gt;
        &amp;lt;identifier&amp;gt;composite-configurable-user-group-provider&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.registry.security.authorization.CompositeConfigurableUserGroupProvider&amp;lt;/class&amp;gt;
        &amp;lt;property name="Configurable User Group Provider"&amp;gt;file-user-group-provider&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Provider 1"&amp;gt;ldap-user-group-provider-1&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Provider 2"&amp;gt;ldap-user-group-provider-2&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Provider 3"&amp;gt;ldap-user-group-provider-3&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Group Provider 4"&amp;gt;ldap-user-group-provider-4&amp;lt;/property&amp;gt;
    &amp;lt;/userGroupProvider&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;The "class" needs to be:&lt;BR /&gt;&amp;nbsp;org.apache.nifi.registry.security.authorization.CompositeConfigurableUserGroupProvider&lt;/P&gt;&lt;P&gt;The above class support one defined "configurable user group provider".&amp;nbsp; A configurable user group provider (file-user-group-provider) is one that allows manual manipulation via the NiFi/NiFi-Registry UI.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help our community thrive. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 12:19:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-add-users-in-Apache-NiFi-Registry/m-p/409095#M252810</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2025-06-02T12:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to add users in Apache NiFi Registry</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-add-users-in-Apache-NiFi-Registry/m-p/409096#M252811</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;yeah, thanks a lot! You are totally right. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 12:35:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-add-users-in-Apache-NiFi-Registry/m-p/409096#M252811</guid>
      <dc:creator>asand3r</dc:creator>
      <dc:date>2025-06-02T12:35:33Z</dc:date>
    </item>
  </channel>
</rss>

