Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

no effect for componentId in NifiUser / NifiUserGroup (accessPolicies) #66

Open
teplydat opened this issue Jan 22, 2021 · 0 comments · May be fixed by #104
Open

no effect for componentId in NifiUser / NifiUserGroup (accessPolicies) #66

teplydat opened this issue Jan 22, 2021 · 0 comments · May be fixed by #104
Labels
bug Something isn't working community
Projects
Milestone

Comments

@teplydat
Copy link

Bug Report

What did you do?
I want to grant permission on specific "components" (let's call it "itam". So it is a process group under "NiFi Flow") via CR "NifiUserGroup".
Doc is here: https://orange-opensource.github.io/nifikop/docs/v0.4.3/3_tasks/4_nifi_user_group

...
- type: component
      action: read
      resource: /
      componentType: process-groups
      componentId: 1ac3ab15-0177-1000-0000-000017feb4b2
#      componentId: "1ac3ab15-0177-1000-0000-000017feb4b2"
#      componentId: "itam"

I tried different things for componentId.

What did you expect to see?
User policy should be for example:
"Component policy for process Group itam"

What did you see instead? Under which circumstances?
No such policy.
If I don't specify "componentId" then it is:
"Component policy for process Group NiFi Flow"

Environment

  • nifikop version: nifikop: v0.4.2-alpha-release

  • go version: -

  • Kubernetes version information: OpenShift 4.6.z, K8s 1.19

  • Kubernetes cluster kind: ?

  • NiFi version: nifi-1.11.4-RC1

Possible Solution
It seems the componentId is not set here:

Would be very nice if someone can help!

@teplydat teplydat linked a pull request May 21, 2021 that will close this issue
5 tasks
@erdrix erdrix added bug Something isn't working community labels Oct 12, 2021
@erdrix erdrix added this to To do in nifikop via automation Oct 12, 2021
@erdrix erdrix added this to the 0.7.1 milestone Oct 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working community
Projects
nifikop
  
To do
Development

Successfully merging a pull request may close this issue.

2 participants