particle-iot / particle-cli

Command Line Interface for Particle Cloud and devices
Apache License 2.0
212 stars 92 forks source link

Skip adding protected devices to non-protection products #768

Closed keeramis closed 2 months ago

keeramis commented 3 months ago

Description

As title says.

The api-service provides a list of device identifiers called protectedDeviceIds. This list includes the IDs of protected devices that are being attempted to be added to non-protected products. These device IDs have already been filtered out by the api-service to prevent them from being added to the product. In particle-cli, we notify the user that these device IDs are being skipped.

How to Test

Refer to the testing instructions here - https://github.com/particle-iot-inc/api-service/pull/1564

Related Issues / Discussions

https://github.com/particle-iot-inc/api-service/pull/1564 https://app.shortcut.com/particle/story/129604/don-t-allow-moving-a-protected-device-to-a-non-protected-product

Completeness