Skip to content

Add support for user signup/deletion settings in google_identity_platform_tenant #20918

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mkohei opened this issue Jan 15, 2025 · 2 comments
Closed

Comments

@mkohei
Copy link

mkohei commented Jan 15, 2025

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
  • Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.
  • If an issue is assigned to a user, that user is claiming responsibility for the issue.
  • Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.

Description

Currently, it is not possible to configure the following settings on a per-tenant basis using the google_identity_platform_tenant resource:

  • client.permissions.disabledUserSignup: When set to true, end users cannot sign up for a new account on the associated project through any API methods.
  • client.permissions.disabledUserDeletion: When set to true, end users cannot delete their account on the associated project through any API methods.

These configurations are not available via the console or Terraform.

New or Affected Resource(s)

  • google_identity_platform_tenant

Potential Terraform Configuration

resource "google_identity_platform_tenant" "default" {
  tenant_id    = "your-tenant-id"
  display_name = "Your Tenant"

  client {
    permissions {
      disabled_user_signup   = true
      disabled_user_deletion = true
    }
  }

References

b/391379924

@github-actions github-actions bot added forward/review In review; remove label to forward service/identitytoolkit labels Jan 15, 2025
@mkohei mkohei changed the title Support setting client.permissions.disabledUserSignup and client.permissions.disabledUserDeletion in google_identity_platform_tenant resource Add support for user signup/deletion settings in google_identity_platform_tenant Jan 15, 2025
@melinath melinath added size/s and removed forward/review In review; remove label to forward labels Jan 21, 2025
@melinath melinath added this to the Goals milestone Jan 21, 2025
@ramonvermeulen
Copy link

@mkohei this is something I am willing to pick-up, I'll give it a go and see if I can get this implemented.

@mkohei
Copy link
Author

mkohei commented Apr 13, 2025

This issue has been implemented, so I am closing it. Many thanks for the excellent work on this implementation!
https://registry.terraform.io/providers/hashicorp/google/6.28.0/docs/resources/identity_platform_tenant#permissions-5

@mkohei mkohei closed this as completed Apr 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants