You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: codefresh/resource_permission.go
+14-1
Original file line number
Diff line number
Diff line change
@@ -84,6 +84,13 @@ Action to be allowed. Possible values:
84
84
"debug",
85
85
}, false),
86
86
},
87
+
"rule_type": {
88
+
Description: "Rule type - can be either `all` or `any`. If all is specified the rule will apply on resources that have all the tags. If any is specified the rule will apply on resources that have any of the tags. If not specified, deafult behavior is `any`.",
// In case team, action or relatedResource or resource have changed - a new permission needs to be created (but without recreating the terraform resource as destruction of resources is alarming for end users)
-`related_resource` (String) Specifies the resource to use when evaluating the tags. Possible values:
61
61
* project
62
+
-`rule_type` (String) Rule type - can be either `all` or `any`. If all is specified the rule will apply on resources that have all the tags. If any is specified the rule will apply on resources that have any of the tags. If not specified, deafult behavior is `any`.
62
63
-`tags` (Set of String) The tags for which to apply the permission. Supports two custom tags:
0 commit comments