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
docs(group): fix writable_environment_categories and clean up dbtcloud_group descriptions
Omitting writable_environment_categories grants no Write access — not
Write access to all environments as the docs claimed. Use ["all"] to
grant Write access everywhere. Same fix applied to group_partial_permissions,
the two SCIM resources, and service_token.
Also fixed copy-paste leftovers on dbtcloud_group: bad cross-reference
to a non-existent partial resource, partial-permissions wording in the
group_permissions block description, and a self-referential
permission_set description.
body: Fixed `writable_environment_categories` description on group, partial permissions, SCIM and service token resources to reflect that omitting the value grants no Write access (use `["all"]` instead). Also cleaned up a few copy-paste doc strings on `dbtcloud_group`.
Copy file name to clipboardExpand all lines: docs/data-sources/service_token.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,5 +37,5 @@ Read-Only:
37
37
-`writable_environment_categories` (Set of String) What types of environments to apply Write permissions to.
38
38
Even if Write access is restricted to some environment types, the permission set will have Read access to all environments.
39
39
The values allowed are `all`, `development`, `staging`, `production` and `other`.
40
-
Not setting a value is the same as selecting `all`.
40
+
Not setting a value (or setting an empty list) means the permission set has no Write access to any environment — only Read access. To grant Write access to all environments, set this to `["all"]`.
41
41
Not all permission sets support environment level write settings, only `analyst`, `database_admin`, `developer`, `git_admin` and `team_admin`.
-`assign_by_default` (Boolean) Whether the group will be assigned by default to users. The value needs to be the same for all partial permissions for the same group.
74
-
-`group_permissions` (Block Set) Partial permissions for the group. Those permissions will be added/removed when config is added/removed. (see [below for nested schema](#nestedblock--group_permissions))
74
+
-`group_permissions` (Block Set) The complete set of permissions to apply to the group. Each block defines one permission set; remove or modify blocks to adjust the group's permissions. (see [below for nested schema](#nestedblock--group_permissions))
75
75
-`sso_mapping_groups` (Set of String) Mapping groups from the IdP. At the moment the complete list needs to be provided in each partial permission for the same group.
-`all_projects` (Boolean) Whether access should be provided for all projects or not.
87
-
-`permission_set` (String) Set of permissions to apply. The permissions allowed are the same as the ones for the `dbtcloud_group` resource.
87
+
-`permission_set` (String) The permission set to apply (e.g. `developer`, `analyst`, `account_admin`). See the table at the top of this page for the full list of permission codes.
88
88
89
89
Optional:
90
90
91
91
-`project_id` (Number) Project ID to apply this permission to for this group.
92
-
-`writable_environment_categories` (Set of String) What types of environments to apply Write permissions to.
93
-
Even if Write access is restricted to some environment types, the permission set will have Read access to all environments.
94
-
The values allowed are `all`, `development`, `staging`, `production` and `other`.
95
-
Not setting a value is the same as selecting `all`.
92
+
-`writable_environment_categories` (Set of String) What types of environments to apply Write permissions to.
93
+
Even if Write access is restricted to some environment types, the permission set will have Read access to all environments.
94
+
The values allowed are `all`, `development`, `staging`, `production` and `other`.
95
+
Not setting a value (or setting an empty list) means the permission set has no Write access to any environment — only Read access. To grant Write access to all environments, set this to `["all"]`.
96
96
Not all permission sets support environment level write settings, only `analyst`, `database_admin`, `developer`, `git_admin` and `team_admin`.
Copy file name to clipboardExpand all lines: docs/resources/group_partial_permissions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,5 +100,5 @@ Optional:
100
100
-`writable_environment_categories` (Set of String) What types of environments to apply Write permissions to.
101
101
Even if Write access is restricted to some environment types, the permission set will have Read access to all environments.
102
102
The values allowed are `all`, `development`, `staging`, `production` and `other`.
103
-
Not setting a value is the same as selecting `all`.
103
+
Not setting a value (or setting an empty list) means the permission set has no Write access to any environment — only Read access. To grant Write access to all environments, set this to `["all"]`.
104
104
Not all permission sets support environment level write settings, only `analyst`, `database_admin`, `developer`, `git_admin` and `team_admin`.
Copy file name to clipboardExpand all lines: docs/resources/scim_group_partial_permissions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -292,7 +292,7 @@ Optional:
292
292
-`writable_environment_categories` (Set of String) What types of environments to apply Write permissions to.
293
293
Even if Write access is restricted to some environment types, the permission set will have Read access to all environments.
294
294
The values allowed are `all`, `development`, `staging`, `production` and `other`.
295
-
Not setting a value is the same as selecting `all`.
295
+
Not setting a value (or setting an empty list) means the permission set has no Write access to any environment — only Read access. To grant Write access to all environments, set this to `["all"]`.
296
296
Not all permission sets support environment level write settings, only `analyst`, `database_admin`, `developer`, `git_admin` and `team_admin`.
Copy file name to clipboardExpand all lines: docs/resources/scim_group_permissions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,5 +63,5 @@ Optional:
63
63
-`writable_environment_categories` (Set of String) What types of environments to apply Write permissions to.
64
64
Even if Write access is restricted to some environment types, the permission set will have Read access to all environments.
65
65
The values allowed are `all`, `development`, `staging`, `production` and `other`.
66
-
Not setting a value is the same as selecting `all`.
66
+
Not setting a value (or setting an empty list) means the permission set has no Write access to any environment — only Read access. To grant Write access to all environments, set this to `["all"]`.
67
67
Not all permission sets support environment level write settings, only `analyst`, `database_admin`, `developer`, `git_admin` and `team_admin`.
Copy file name to clipboardExpand all lines: docs/resources/service_token.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,7 +107,7 @@ Optional:
107
107
-`writable_environment_categories` (Set of String) What types of environments to apply Write permissions to.
108
108
Even if Write access is restricted to some environment types, the permission set will have Read access to all environments.
109
109
The values allowed are `all`, `development`, `staging`, `production` and `other`.
110
-
Not setting a value is the same as selecting `all`.
110
+
Not setting a value (or setting an empty list) means the permission set has no Write access to any environment — only Read access. To grant Write access to all environments, set this to `["all"]`.
111
111
Not all permission sets support environment level write settings, only `analyst`, `database_admin`, `developer`, `git_admin` and `team_admin`.
Description: "Partial permissions for the group. Those permissions will be added/removed when config is added/removed.",
100
+
Description: "The complete set of permissions to apply to the group. Each block defines one permission set; remove or modify blocks to adjust the group's permissions.",
Description: "Set of permissions to apply. The permissions allowed are the same as the ones for the `dbtcloud_group` resource.",
108
+
Description: "The permission set to apply (e.g. `developer`, `analyst`, `account_admin`). See the table at the top of this page for the full list of permission codes.",
`What types of environments to apply Write permissions to.
125
-
Even if Write access is restricted to some environment types, the permission set will have Read access to all environments.
126
-
The values allowed are ~~~all~~~, ~~~development~~~, ~~~staging~~~, ~~~production~~~ and ~~~other~~~.
127
-
Not setting a value is the same as selecting ~~~all~~~.
124
+
`What types of environments to apply Write permissions to.
125
+
Even if Write access is restricted to some environment types, the permission set will have Read access to all environments.
126
+
The values allowed are ~~~all~~~, ~~~development~~~, ~~~staging~~~, ~~~production~~~ and ~~~other~~~.
127
+
Not setting a value (or setting an empty list) means the permission set has no Write access to any environment — only Read access. To grant Write access to all environments, set this to ~~~["all"]~~~.
128
128
Not all permission sets support environment level write settings, only ~~~analyst~~~, ~~~database_admin~~~, ~~~developer~~~, ~~~git_admin~~~ and ~~~team_admin~~~.`,
`What types of environments to apply Write permissions to.
99
99
Even if Write access is restricted to some environment types, the permission set will have Read access to all environments.
100
100
The values allowed are ~~~all~~~, ~~~development~~~, ~~~staging~~~, ~~~production~~~ and ~~~other~~~.
101
-
Not setting a value is the same as selecting ~~~all~~~.
101
+
Not setting a value (or setting an empty list) means the permission set has no Write access to any environment — only Read access. To grant Write access to all environments, set this to ~~~["all"]~~~.
102
102
Not all permission sets support environment level write settings, only ~~~analyst~~~, ~~~database_admin~~~, ~~~developer~~~, ~~~git_admin~~~ and ~~~team_admin~~~.`,
`What types of environments to apply Write permissions to.
93
93
Even if Write access is restricted to some environment types, the permission set will have Read access to all environments.
94
94
The values allowed are ~~~all~~~, ~~~development~~~, ~~~staging~~~, ~~~production~~~ and ~~~other~~~.
95
-
Not setting a value is the same as selecting ~~~all~~~.
95
+
Not setting a value (or setting an empty list) means the permission set has no Write access to any environment — only Read access. To grant Write access to all environments, set this to ~~~["all"]~~~.
96
96
Not all permission sets support environment level write settings, only ~~~analyst~~~, ~~~database_admin~~~, ~~~developer~~~, ~~~git_admin~~~ and ~~~team_admin~~~.`,
0 commit comments