update missed ABM references (#49027)

<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #48314 

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files)
for more information.

- [x] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements), JS
inline code is prevented especially for url redirects, and untrusted
data interpolated into shell scripts/commands is validated against shell
metacharacters.
- [x] Timeouts are implemented and retries are limited to avoid infinite
loops
- [x] If paths of existing endpoints are modified without backwards
compatibility, checked the frontend/CLI for any necessary changes

## Testing

- [x] Added/updated automated tests
- [x] QA'd all new/changed functionality manually

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Bug Fixes**
* Updated Apple Business Manager references across admin and host device
flows to use the shorter “AB” wording.
* Improved user-facing copy in enrollment, status, tooltip, and error
messages for consistency.
* Adjusted the automatic enrollment button label to match the updated
terminology.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Magnus Jensen
2026-07-09 18:00:06 +02:00
committed by GitHub
parent 232c433214
commit bfc986df7e
6 changed files with 8 additions and 8 deletions
@@ -0,0 +1 @@
- Updated missed ABM references to AB.
@@ -8,7 +8,7 @@ const generateDuplicateMessage = (msg: string) => {
const orgName = msg.split("'")[1];
return (
<>
Couldn&apos;t add. There&apos;s already an ABM connection for the{" "}
Couldn&apos;t add. There&apos;s already an AB connection for the{" "}
<b>{orgName}</b> organization.
</>
);
@@ -19,9 +19,9 @@ const OrgNameCell = ({ orgName, termsExpired }: IOrgNameCellProps) => {
position="top"
tipContent={
<>
The ABM terms have changed.
The AB terms have changed.
<br />
To accept terms, go to ABM.
To accept terms, go to AB.
</>
}
className={`${baseClass}__tooltip-wrapper`}
@@ -43,7 +43,7 @@ const AppleAutomaticEnrollmentCard = ({
header="Apple (macOS, iOS, iPadOS) company-owned and personal hosts enrollment"
cta={
<Button className="add-abm-button" onClick={viewDetails}>
Add ABM
Add AB
</Button>
}
>
@@ -88,9 +88,8 @@ const UnenrollMdmModal = ({
} else if (isAutomaticDeviceEnrollment(enrollmentStatus)) {
return (
<p>
To re-enroll, make sure that the host is still in Apple Business
Manager (ABM). The host will automatically enroll after it&apos;s
reset.
To re-enroll, make sure that the host is still in Apple Business (AB).
The host will automatically enroll after it&apos;s reset.
</p>
);
}
@@ -76,7 +76,7 @@ const PROFILE_STATUS_UI_MAP: Record<
label: "Assigned",
tooltip: (
<>
Profile is assigned in ABM, and ABM <br />
Profile is assigned in AB, and AB <br />
is preparing to push it to the host.
</>
),