Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-672

Documentation: Admin Guide-Controlling Levels of Access example incorrect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 0.2.0
    • None
    • None

    Description

      This text has an error in it:

      It is only necessary to manually add one user, the ADMIN user, to this file. So, at a minimum, the following example entry should be included and contain the user Distinguished Name (DN) in place of "user dn - read only and admin":

      <users>
      <user dn="[user dn - read only and admin]">
      <role name="ROLE_ADMIN"/>
      </user>
      </users>

      Here is an example entry using the name John Smith:

      <users>
      <user dn="[cn=John Smith,ou=people,dc=example,dc=com]">
      <role name="ROLE_ADMIN"/>
      </user>
      </users>

      ************************************************************************************
      The error is the brackets. To get the secure NiFi set up with role-based access, the DN needs to be set withOUT the square brackets. So, here's the correct syntax and example:
      <user dn="cn=John Smith,ou=people,dc=example,dc=com">

      Attachments

        Activity

          People

            joewitt Joe Witt
            MKimball628 Mimi Kimball
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: