Authorization with Ranger
Also available as:
PDF

Creating Policies to View NiFi

To allow users to view the NiFi UI, create the following policies for each host:

  • /flow – read

  • /proxy – read/write

To create policies:
  1. From the Ranger console, click the NiFi Ranger plugin.


  2. From the List of Policies page, click Add New Policy.
  3. In the Policy Details dialog, create the /flow and /proxy policies.


  4. To create the /flow policy:
    1. Provide the following information:
      • Policy Name – /flow

      • NiFi Resource Identifier- /flow

      • Select Users and Groups you want to immediately add.

      • Add Read permission

    2. Click Add.
  5. To create the /proxy policy:
    1. Provide the following information:
      • Policy Name – /proxy

      • NiFi Resource Identifier- /proxy

      • Select Users and Groups you want to immediately add.

      • Add Read and Write permissions.

    2. Click Add.