Cloudera DataFlow (CDF) restricts who can import flow definitions and deploy them. A
"PowerUser" must grant "DFAdmin", "DFFlowAdmin", and "DFCatalogAdmin" roles to users so that
they can enable CDF for an environment, import, add, and deploy flow definitions in CDF.
The DFAdmin role is required to enable CDF for an
environment.
The DFFlowAdmin role is required deploy flow definitions in
CDF.
The DFCatalogAdmin role is required to import flow definitions
to the CDF Catalog.
Cloudera recommends that you create a dedicated machine user as a CDP Workload User
for CDF. Make sure to set the Workload Password. You need the
workload username and password for deploying NiFi flows.
You must also assign the EnvironmentUser role to this machine user
within your environment.
Log in to the CDP web interface.
To give a user the permission to enable CDF for an environment:
Go to Management Console > Environments.
The Environment List page is displayed.
Select the environment in which you want a user to enable CDF.
Go to Actions > Manage Access to display the Environment Access
page.
Find the user to whom you want to grant the DFAdmin
role, and click Update Roles.
Select DFAdmin and click Update
Roles.
To give a user or group the permission to deploy flow definitions.
Go to Management Console > Environments.
The Environment List page is displayed.
Select the environment to which you want a user or group to deploy flow
definitions.
Go to Actions > Manage Access.
The Environment Access page is displayed.
Find the user or group and click Update
Roles.
Select DFFlowAdmin and click Update
Roles.
To give a user the permission to import flow definitions:
Go to Management Console > User Management.
Enter the name of the user or group you wish to authorize in the
Search field.
Select the user or group from the list that displays.
Click Roles, then Update
Roles.
From Update Roles, select
DFCatalogAdmin and click
Update.
Go to the Environments page.
Click Actions > Synchronize Users to FreeIPA.
Depending on how many users have access to the environment, this
synchronization process can take a few seconds to a few minutes.