Skip to content

init should not change database security rules #134

@tamalsaha

Description

@tamalsaha

I have an existing Firebase app that I upgraded to the new console. Then in an empty folder I ran firebase init and completed the prompts. In the end, I get a database.rules.json file with globally read-write enable rules.
{ ".read": true, ".write": true }
But I actually have configured more restrictive security rules from the old console. Those rules are still present in the new console. I think the init command should use existing security rules for an app. Please look into this.

Thanks.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions