Skip to content

Disable inventory feature for users who don't use it #13642

@RachL

Description

@RachL

⚠️ Please use clockify code # 76 Network 2.0

Description

Once #13592 is merged, we can (tanks to the toggles) remove inventory for users who are not using it and give them access to variant tags instead.

We need to list per instance the enterprises who have an active inventory.

It's tricky to know whether or not inventory is used given we couldn't disable it before introducing the toggle, therefore I suggest:

  • to remove access for enterprises who do not have products in inventory
  • for those who do, extract a list (as csv e.g.) with name of enterprise + owner email + number of variants in inventory (ideally number of hidden variants + available variants).

There are high chances that users with all their variants hidden are not using inventory anymore, but best to check with them.

Nicolas' shop on CoopCircuits is in this case, we can manually test the process with him before doing a script / batch change.

Acceptance Criteria & Tests

1.Before staging the PR check a user which has no products in inventory and one who has. check also users who have several enterprises in different states
2. After staging check inventory is not available for users who strictly have no products in inventory, no matter the enterprise they own.
3. Check these users have access to variant tags
4. Check that for all the others access to inventory has not changed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

In Progress ⚙

Relationships

None yet

Development

No branches or pull requests

Issue actions