Skip to content

Commit

Permalink
APP-15961 - Update resource permission to not reference collection
Browse files Browse the repository at this point in the history
  • Loading branch information
jzolo22 committed Nov 12, 2024
1 parent e5e6d0b commit 5ae9fef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/resources/resource_permission.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ resource "jupiterone_resource_permission" "administrator_permissions" {
- `subject_id` (String) The ID of the subject that the resource permissions will be applied to (e.g. group ID).
- `subject_type` (String) The type of the subject that the resource permissions will be applied to (e.g. group).
- `resource_area` (String) The resource area that these permissions will be applied to (e.g. rule).
- `resource_type` (String) The resource type that these permissions will be applied to (e.g. rule, rule_collection, \*).
- `resource_id` (String) The resource ID that these permissions will be applied to (e.g. rule ID, rule_collection ID, \*).
- `resource_type` (String) The resource type that these permissions will be applied to (e.g. rule, resource_group, \*).
- `resource_id` (String) The resource ID that these permissions will be applied to (e.g. rule ID, resource_group ID, \*).
- `can_read` (Boolean) Whether the subject can read the resource.
- `can_create` (Boolean) Whether the subject can create the resource.
- `can_update` (Boolean) Whether the subject can update the resource.
Expand Down
4 changes: 2 additions & 2 deletions jupiterone/resource_resource_permission.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ func (*ResourcePermissionResource) Schema(ctx context.Context, req resource.Sche
},
"resource_type": schema.StringAttribute{
Required: true,
Description: "The resource type that these permissions will be applied to (e.g. rule, rule_collection, *).",
Description: "The resource type that these permissions will be applied to (e.g. rule, resource_group, *).",
},
"resource_id": schema.StringAttribute{
Required: true,
Description: "The ID of the resource that these permissions will be applied to (e.g. rule ID, rule collection ID, *).",
Description: "The ID of the resource that these permissions will be applied to (e.g. rule ID, resource group ID, *).",
},
"can_read": schema.BoolAttribute{
Required: true,
Expand Down

0 comments on commit 5ae9fef

Please sign in to comment.