Skip to content

Make scopes read-only by default #3

Description

@joshdifabio

Presently it would be quite easy to delete/modify data on a production site by mistake.

Perhaps we could consider making scopes* read-only by default, and require some kind of configuration change to enable write mode for a scope. E.g. sdm-config enable-write m2:tech21.com.

It would be easy to forget to disable write mode for a given scope after running some operations, so perhaps we could consider one of these options to help avoid leaving write mode enabled by mistake:

  • write mode can only be enabled for one scope at a time. I.e. enabling write mode for one scope disables it for other scopes
  • write mode is auto-disabled after a certain period, e.g. a few minutes or an hour. Long running write operations should still be supported

*A scope is a Magento instance, a Shopify shop, a BigCommerce store, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions