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: docs/data-sources/permission_groups.md
+15-12Lines changed: 15 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,18 +13,18 @@ Use this data source to access information about existing **Permission Groups**.
13
13
## Example Usage
14
14
15
15
```terraform
16
-
variable "product_id" {
17
-
type = string
18
-
}
19
-
20
-
data "configcat_permission_groups" "my_permission_groups" {
21
-
product_id = var.product_id
22
-
name_filter_regex = "Administrators"
23
-
}
24
-
25
-
26
-
output "permission_group_id" {
27
-
value = data.configcat_permission_groups.my_permission_groups.permission_groups[0].permission_group_id
16
+
variable "product_id" {
17
+
type = string
18
+
}
19
+
20
+
data "configcat_permission_groups" "my_permission_groups" {
21
+
product_id = var.product_id
22
+
name_filter_regex = "Administrators"
23
+
}
24
+
25
+
26
+
output "permission_group_id" {
27
+
value = data.configcat_permission_groups.my_permission_groups.permission_groups[0].permission_group_id
28
28
}
29
29
```
30
30
@@ -50,6 +50,7 @@ output "permission_group_id" {
50
50
Read-Only:
51
51
52
52
-`accesstype` (String) Represent the Feature Management permission. Possible values: readOnly, full, custom
53
+
-`approval_permission_type` (String) Represents the permission group level change request approval permission. Possible values: cannotApprove, canApproveOthers, canBypassApproval, custom
53
54
-`can_createorupdate_config` (Boolean) Group members can create/update Configs.
54
55
-`can_createorupdate_environment` (Boolean) Group members can create/update Environments.
55
56
-`can_createorupdate_segment` (Boolean) Group members can create/update Segments.
@@ -72,6 +73,8 @@ Read-Only:
72
73
-`can_view_product_statistics` (Boolean) Group members has access to product statistics.
73
74
-`can_view_sdkkey` (Boolean) Group members has access to SDK keys.
74
75
-`environment_accesses` (Map of String) The environment specific permissions map block. Keys are the Environment IDs and the values represent the environment specific Feature Management permission. Possible values: full, readOnly
76
+
-`environment_approval_permissions` (Map of String) The environment specific approval permissions map block. Keys are the Environment IDs and the values represent the environment specific change request approval permission. Possible values: cannotApprove, canApproveOthers, canBypassApproval
75
77
-`name` (String) The name of the Permission Group.
76
78
-`new_environment_accesstype` (String) Represent the environment specific Feature Management permission for new Environments. Possible values: full, readOnly, none
79
+
-`new_environment_approval_permission_type` (String) Represents the environment specific change request approval permission for new Environments. Possible values: cannotApprove, canApproveOthers, canBypassApproval
77
80
-`permission_group_id` (Number) The unique Permission Group ID.
0 commit comments