Skip to content
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

Changing DB user role from [email protected] to readwrite@DB doesn't work #1462

Closed
SymbioticKilla opened this issue Sep 8, 2023 · 1 comment · Fixed by #1471
Closed

Comments

@SymbioticKilla
Copy link

Hi,

we have a problem changing role of a db user from collection based to DB(All Collections) based.

Versions:

  mongodbatlas 1.11.1
  terraform: 1.5.0

Steps to Reproduce

Please list the full steps required to reproduce the issue, for example:

  1. Create a db user with (apply):
 roles {
    role_name     = "readWrite"
    database_name = "Inventory"
    collection_name = "Inventory"
  }
 roles {
    role_name     = "readWrite"
    database_name = "Inventory"
    collection_name = "Inventory2"
  }
  1. Change it to (apply):
 roles {
    role_name     = "readWrite"
    database_name = "Inventory"
  }

Expected Behavior

User in db has readWrite@Inventory

Actual Behavior

User in db has [email protected] or [email protected]

@github-actions
Copy link
Contributor

github-actions bot commented Sep 8, 2023

Thanks for opening this issue. The ticket INTMDB-1062 was created for internal tracking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant