@@ -1335,6 +1335,12 @@ resourceTypes = {
1335
1335
"unlock_resource" = {
1336
1336
description = "Can unlock a resource"
1337
1337
}
1338
+ add_child = {
1339
+ description = "add a child resource"
1340
+ }
1341
+ list_children = {
1342
+ description = "list child resources"
1343
+ }
1338
1344
}
1339
1345
ownerRoleName = "steward"
1340
1346
roles = {
@@ -1343,14 +1349,17 @@ resourceTypes = {
1343
1349
includedRoles = ["custodian"]
1344
1350
}
1345
1351
custodian = {
1346
- roleActions = ["manage_schema", "create_datasnapshot", "ingest_data", "soft_delete", "hard_delete", "unlink_snapshot", "list_snapshots", "lock_resource", "unlock_resource", "share_policy::custodian", "share_policy::ingester", "share_policy::snapshot_creator"]
1352
+ roleActions = ["manage_schema", "create_datasnapshot", "ingest_data", "soft_delete", "hard_delete", "unlink_snapshot", "list_snapshots", "lock_resource", "unlock_resource", "share_policy::custodian", "share_policy::ingester", "share_policy::snapshot_creator", "list_children" ]
1347
1353
includedRoles = ["snapshot_creator"]
1354
+ descendantRoles = {
1355
+ datasnapshot = ["steward"]
1356
+ }
1348
1357
}
1349
1358
ingester = {
1350
1359
roleActions = ["read_dataset", "read_data", "ingest_data"]
1351
1360
}
1352
1361
snapshot_creator = {
1353
- roleActions = ["read_dataset", "read_data", "read_policies", "link_snapshot"]
1362
+ roleActions = ["read_dataset", "read_data", "read_policies", "link_snapshot", "add_child" ]
1354
1363
}
1355
1364
admin = {
1356
1365
roleActions = ["share_policy::steward", "read_policies", "alter_policies", "unlock_resource"]
@@ -1437,18 +1446,24 @@ resourceTypes = {
1437
1446
add_child = {
1438
1447
description = "add a child resource"
1439
1448
}
1449
+ create_with_parent = {
1450
+ description = "Enables creating a snapshot with a parent dataset"
1451
+ }
1452
+ get_parent = {
1453
+ description = "get parent of snapshot"
1454
+ }
1440
1455
}
1441
1456
ownerRoleName = "steward"
1442
1457
roles = {
1443
1458
steward = {
1444
- roleActions = ["share_policy::steward", "share_policy::custodian", "update_passport_identifier", "view_journal"]
1459
+ roleActions = ["share_policy::steward", "share_policy::custodian", "update_passport_identifier", "view_journal", "create_with_parent" ]
1445
1460
includedRoles = ["custodian"]
1446
1461
descendantRoles = {
1447
1462
snapshot-builder-request = ["approver"]
1448
1463
}
1449
1464
}
1450
1465
custodian = {
1451
- roleActions = ["delete", "edit_datasnapshot", "update_snapshot", "share_policy::reader", "share_policy::aggregate_data_reader", "share_policy::discoverer", "read_policies", "set_public", "update_auth_domain", "lock_resource", "unlock_resource"]
1466
+ roleActions = ["delete", "edit_datasnapshot", "update_snapshot", "share_policy::reader", "share_policy::aggregate_data_reader", "share_policy::discoverer", "read_policies", "set_public", "update_auth_domain", "lock_resource", "unlock_resource", "get_parent" ]
1452
1467
includedRoles = ["reader"]
1453
1468
}
1454
1469
reader = {
0 commit comments