Zanzana: Add reconcilation verbs (#115772)

This commit is contained in:
Stephanie Hingtgen
2026-01-05 09:48:00 -06:00
committed by GitHub
parent dc992b62b6
commit e9e507a887
+10 -2
View File
@@ -45,8 +45,16 @@ const (
)
var (
RelationsFolder = common.RelationsTyped
RelationsResouce = common.RelationsResource
// RelationsFolder is used by reconciliation to list tuples for folder objects.
// It must include both verb relations (get/update/delete/...) and the permission-set relations (view/edit/admin)
RelationsFolder = append(append([]string{}, common.RelationsTyped...),
common.RelationSetView, common.RelationSetEdit, common.RelationSetAdmin,
)
// RelationsResouce is used by reconciliation to list tuples for resource objects.
// Include permission-set relations for the same reason as RelationsFolder.
RelationsResouce = append(append([]string{}, common.RelationsResource...),
common.RelationSetView, common.RelationSetEdit, common.RelationSetAdmin,
)
RelationsSubresource = common.RelationsSubresource
)