Skip to content

Commit dee7c41

Browse files
Infield missing ACL fix (#152)
* Infield missing ACL fix * Review feedback changes
1 parent 30ddbe0 commit dee7c41

File tree

3 files changed

+36
-3
lines changed

3 files changed

+36
-3
lines changed

modules/accelerators/infield_quickstart/cdf_infield_common/auth/applications-configuration.Group.yaml

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,49 @@ metadata:
44
origin: 'cdf-project-templates'
55
capabilities:
66

7+
# Groups - For InField administrators to grant access to users
78
- groupsAcl:
89
actions:
910
- LIST
1011
- READ
1112
scope:
12-
currentuserscope: {}
13-
- threedAcl:
13+
all: {}
14+
15+
# Data sets - Get data from work order management system, such as SAP, and work orders
16+
- datasetsAcl:
17+
actions:
18+
- READ
19+
scope:
20+
all: {}
21+
22+
# Data models - Organize and structure data
23+
- dataModelsAcl:
24+
actions:
25+
- READ
26+
scope:
27+
all: {}
28+
29+
# Data model instances - Access data organized in data models (read)
30+
- dataModelInstancesAcl:
1431
actions:
1532
- READ
1633
scope:
1734
all: {}
18-
- assetsAcl:
35+
36+
# Data model instances - Access and edit data organized in data models and spaces (write)
37+
- dataModelInstancesAcl:
38+
actions:
39+
- WRITE
40+
scope:
41+
spaceIdScope:
42+
spaceIds:
43+
- cognite_app_data
44+
- APM_Config
45+
46+
# Location filters - Configure location filters (admin feature)
47+
- locationFiltersAcl:
1948
actions:
2049
- READ
50+
- WRITE
2151
scope:
2252
all: {}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
first_location: oid
2+
# Source ID for the applications configuration group
3+
applicationsconfiguration_source_id: <change_me>

modules/accelerators/infield_quickstart/cdf_infield_location/auth/infield_quickstart_normal_role.group.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ capabilities:
2525
- cdf_idm
2626
- cdf_infield
2727
- cdf_apps_shared
28+
- APM_Config
2829
# add any other spaces that are used for extention of core resources
2930

3031
# Data model instances - View and analyze the data created in InField

0 commit comments

Comments
 (0)