From 2c6e5e60669060489176a14309f331c2d81afb3c Mon Sep 17 00:00:00 2001 From: Stacey Salamon Date: Fri, 22 Nov 2024 12:42:36 +0100 Subject: [PATCH] docs: point to new permission resource instead of group_project --- docs/resources/organization_user.md | 7 ++----- .../sdkprovider/service/organization/organization_user.go | 6 ++---- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/docs/resources/organization_user.md b/docs/resources/organization_user.md index 380942d25..69be14864 100644 --- a/docs/resources/organization_user.md +++ b/docs/resources/organization_user.md @@ -9,8 +9,7 @@ description: |- After the user accepts the invite you can get their information using the aiven_organization_user data source. You can manage user access to projects with the aiven_organization_user_group, - aiven_organization_user_group_member, and aiven_organization_group_project resources. - The organization user resource allows the creation and management of an Aiven organization user. + aiven_organization_user_group_member, and aiven_organization_permission resources. --- # aiven_organization_user (Resource) @@ -21,9 +20,7 @@ description: |- After the user accepts the invite you can get their information using the `aiven_organization_user` data source. You can manage user access to projects with the `aiven_organization_user_group`, -`aiven_organization_user_group_member`, and `aiven_organization_group_project` resources. - -The organization user resource allows the creation and management of an Aiven organization user. +`aiven_organization_user_group_member`, and `aiven_organization_permission` resources. diff --git a/internal/sdkprovider/service/organization/organization_user.go b/internal/sdkprovider/service/organization/organization_user.go index 7ea11b32e..5bbfddbcc 100644 --- a/internal/sdkprovider/service/organization/organization_user.go +++ b/internal/sdkprovider/service/organization/organization_user.go @@ -63,9 +63,7 @@ func ResourceOrganizationUser() *schema.Resource { After the user accepts the invite you can get their information using the ` + "`aiven_organization_user`" + ` data source. You can manage user access to projects with the ` + "`aiven_organization_user_group`" + `, -` + "`aiven_organization_user_group_member`" + `, and ` + "`aiven_organization_group_project`" + ` resources. - -The organization user resource allows the creation and management of an Aiven organization user. +` + "`aiven_organization_user_group_member`" + `, and ` + "`aiven_organization_permission`" + ` resources. `, CreateContext: resourceOrganizationUserCreate, ReadContext: resourceOrganizationUserRead, @@ -80,7 +78,7 @@ This resource is deprecated. Users cannot be invited to an organization using Te Use the Aiven Console to invite users to your organization. After the user accepts the invite you can get their information using the aiven_organization_user data source. You can manage user access to projects with the aiven_organization_user_group, aiven_organization_user_group_member, -and aiven_organization_group_project resources. +and aiven_organization_permission resources. `, } }