Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip adding protected devices to non-protection products #768

Conversation

keeramis
Copy link
Contributor

@keeramis keeramis commented Sep 3, 2024

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

  • User is totes amazing for contributing!
  • Contributor has signed CLA
  • Problem and solution clearly stated
  • Tests have been provided
  • Docs have been updated
  • CI is passing

@keeramis keeramis marked this pull request as ready for review September 3, 2024 19:21
Copy link
Contributor

@hugomontero hugomontero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@keeramis keeramis merged commit 42b719d into master Sep 5, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants