Skip to content

Commit ec7f6ea

Browse files
committed
updated comments
1 parent 5ed707d commit ec7f6ea

4 files changed

Lines changed: 29 additions & 2 deletions

File tree

rego/nifi_global_policies.rego

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# DESCRIPTION
2+
# This file contains the permissions for the global policies
3+
# that can be found in the NiFi Admin Guide:
4+
# https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#access-policies
5+
16
package nifi_global_policies
27

38
global_policies := {

rego/nifi_node_policies.rego

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# DESCRIPTION
2+
# This file contains the permissions for the node components in your flow.
3+
# A node component is every component on Level 3 or higher. So every component
4+
# that is contained in the components on the canvas you see after the login.
5+
# [IMPORTANT] Those permissions are set using the UUID of the component.
6+
# Thus the permissions can only be created if the component is already existing.
7+
#
8+
# The available access policy discriptors can be found here:
9+
# https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#access-policies
10+
111
package nifi_node_policies
212

313
node_policies := {

rego/nifi_root_policies.rego

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
1+
# DESCRIPTION
2+
# This file contains the permissions for the root components in your flow.
3+
# A root component is every component on Level 1 (NiFi Flow it self) and
4+
# Level 2 which are all components located directly in the NiFi Flow (those you see
5+
# when you log into the Web-UI).
6+
# [IMPORTANT] Those permissions are set using the future name of the component.
7+
# Thus the permissions can be created before the components even exist.
8+
#
9+
# The available access policy discriptors can be found here:
10+
# https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#access-policies
11+
112
package nifi_root_policies
213

314
root_policies := {
15+
"/processors": {
16+
}
17+
418
"/process-groups": {
519
"Projekt1":{
620
"read": {

rego/nifi_rules.rego

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,6 @@ allow := {
176176

177177

178178
## check for illegal 'non-root equals root name' component name
179-
180-
# illegal name
181179
allow := {
182180
"allowed": "false",
183181
"dumpCache": true,

0 commit comments

Comments
 (0)