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
{{ message }}
Repository navigation
Request that developers have permissions to dump Dev database(s) in GCP #30344
Entities TeamA label to filter on the tickets for the Entities based team that takes care of front end featuresPriority2SRESRE team taskdevopstechnical continuous improvementtechdebt
Previously, developers were able to connect to the Legal database in OCP and dump it for their local (debugging) use.
Now, most developers do not have permission to dump the Legal db in GCP.
This is conversation I had with Patrick last week:
However, Patrick's approach will require a lot of work to achieve, and even today we are running into issues with stale local databases. Here are unit test results in Dev:
However, the above work fine using a local, month-old database, so we cannot debug it locally.
It would also be difficult to maintain 3 local databases (Namex, Auth, Lear) in sync.
I am asking for a follow-up with Patrick to get his blessing (and permissions) to dump Dev databases only.
We could possibly allow a single person to dump the Dev db(s) and then share them. Then, only this person would need the GCP permission.
@severinbeauvais@OlgaPotiagalova As mentioned in the screenshot, downloading the product database to a local workstation is strictly against our security policy. Even if it's the Dev database, it still contains a copy of production data, and we cannot guarantee that it’s free of sensitive information.
For frontend local development, please connect to Dev or Test services directly.
For backend development, always use mock data to maximize unit test coverage.
If you'd like to discuss this further, feel free to raise it in the Developer or SRE community of practices meetup.
changed the title [-]Request that developers have permissions to dump Dev database(s)[/-][+]Request that developers have permissions to dump Dev database(s) in GCP[/+]on Sep 8, 2025
Entities TeamA label to filter on the tickets for the Entities based team that takes care of front end featuresPriority2SRESRE team taskdevopstechnical continuous improvementtechdebt
Activity
OlgaPotiagalova commentedon Aug 22, 2025
@pwei1018, could you please help to address this request? Thank you
severinbeauvais commentedon Sep 4, 2025
This may be mitigated by upcoming GCP config to give all developers IAM Access Management to the dbs.
I'm still wondering how we can test things locally (and run unit tests) without affecting the Dev dbs (legal, auth, namex).
pwei1018 commentedon Sep 4, 2025
@severinbeauvais @OlgaPotiagalova As mentioned in the screenshot, downloading the product database to a local workstation is strictly against our security policy. Even if it's the Dev database, it still contains a copy of production data, and we cannot guarantee that it’s free of sensitive information.
For frontend local development, please connect to Dev or Test services directly.
For backend development, always use mock data to maximize unit test coverage.
If you'd like to discuss this further, feel free to raise it in the Developer or SRE community of practices meetup.
[-]Request that developers have permissions to dump Dev database(s)[/-][+]Request that developers have permissions to dump Dev database(s) in GCP[/+]severinbeauvais commentedon Oct 14, 2025
@pwei1018 Could devs have a copy of the Sandbox db locally, since that should contain no production data?
@argush3 Thoughts?
argush3 commentedon Oct 14, 2025
Sandbox db is the production db obfuscated so probably not that ideal.
Even if sandbox data wasn't production, you have an issue with the sandbox being out of date depending on when the sandbox db was updated.
severinbeauvais commentedon Oct 14, 2025
Port forwarding (from Dev GCP db) should work for a lot of scenarios (thus allowing devs to directly use the Dev db).
But, there are some scenarios where the structure of the db is updated, which should be tested locally.
pwei1018 commentedon Jan 23, 2026
Close this ticket. The current security policy: we are not allow anyone dump the database into local in all environments.