You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a premium only feature: Yes (ABM is premium)
ℹ️ Please read this issue carefully and understand it. Pay special attention to UI wireframes, especially "dev notes".
Risk assessment
Risk level: Low
Risk description: The biggest risk here is that an admin unintentionally releases the wrong device which is not an easy situation to resolve, particularly for those who do not
Test plan
Make sure to go through the list and consider all events that might be related to this story, so we catch edge cases earlier.
Be sure to test with device that you're ok with not having in AB for a while. The release action itself is instantaneous and irreversible.
Core flow
Test all cases below with a single AB token configured and multiple AB tokens and test with macOS, iPadOS and iOS devices
Navigate to Host details for an Apple host enrolled via AB.
Verify "Release from AB" action is visible for an eligible host (AB enrolled and MDM on).
Click "Release from AB" and confirm tahe confirmation modal appears.
Confirm the action. Verify the API call succeeds and a success banner is shown.
Verify the host's MDM status details modal shows new updated error messaging.
Verify a new activity "released_host_from_ab" appears in the global activity feed with the correct actor, host display name, host serial, and timestamp.
Test with batch request via API with hosts that will succeed and fail. Ensure error message shows for hosts that failed.
Test that a releasing a device configured against token without the setting in AB that allows the MDM server to release devices fails with a reasonable error message
Verify that non-AB devices do not show the release option
Assign a device to another server in AB then try to release it. Verify that a reasonable error is returned
Verify in the UI and API that only admins can release hosts, singly or multiple. Observer, maintainer, technician cannot.
Verify via the API that a team-scoped admin cannot release hosts from another team
Feature in isolation/Fleet Free
Verify that with Apple MDM disabled and on Fleet Free the Host page still loads and is functional for Apple hosts
Verify that with Apple MDM disabled proper errors are returned when attempting to hit the release endpoint on Fleet Premium
Verify that on Fleet Free the usual Premium-only error is returned when attempting to hit the release endpoint
Edge cases
TODO
Supplemental testing
Testing notes
Confirmation
Engineer: Added comment to user story confirming successful completion of test plan (include any special setup, test data, or configuration used during development/testing if applicable).
QA: Added comment to user story confirming successful completion of test plan.
QA: Determined whether this story needs Playwright automation.
Needs automation: Yes / No
If yes, filed a follow-up issue in the :help-qa project with status "Needs automation":
Goal
Changes
Product
Engineering
Risk assessment
Test plan
Be sure to test with device that you're ok with not having in AB for a while. The release action itself is instantaneous and irreversible.
Core flow
Feature in isolation/Fleet Free
Edge cases
Supplemental testing
Testing notes
Confirmation