Configuring NiFi Authentication and Proxying with Apache Knox
Also available as:

Adding a NiFi Policy for Knox

A new NiFi installation includes the policies necessary for Knox. If you are configuring an existing NiFi installation to be proxied by Knox, you must manually create NiFi policies for Knox. You can create and add these policies using either NiFi or Apache Ranger.