Actions
Bug #13559
openDevice status breaking after enrollment issue
Status:
New
Priority:
Critical
Assignee:
-
Start date:
15/07/2025
Due date:
% Done:
0%
Estimated time:
Device Type:
Component:
Type:
Platform
QA Start Time:
QA Due Time:
QA Estimated Time(Hours):
Description
product version 6.2.3.0
Description
When a request is sent to enroll a device into "Active" status, even a user who is not the owner is able to change the status. And it results in the device going to a "Removed" status.
- Enroll a device with the owner as "admin" (to move into Created state)
- Send request using postman to enroll device, but with token credentials of a different user (to move into Active state)
Example request:{ "name": "<<device name here>>" , "description": "DEVICE_DESCRIPTION_VALUE", "deviceIdentifier": "<<device name here>>", "enrolmentInfo": { "ownership": "COPE", "owner": "<<user name here>>" }, "properties": [ { "name": "SERIAL", "value": "<<device name here>>" }, { "name": "DEVICE_MODEL", "value": "ENTGRA_TEST" } ], "deviceInfo" : { "deviceDetailsMap" : { "FIRMWARE_MODEL" : "<<firmware model name here>>", "FIRMWARE_VERSION" : "009011004", "SDK_VERSION" : "123" } } }
observation
Upon creating, the device is listed in "Created" status as expected.
After sending the enrollment request, even from a different user, the device moves into the "Active state" in the "All Devices" section. However, when you navigate into the single device page, the device status is shown as "Removed" and is in an unusable state.
Files
No data to display
Actions