macOS managed local account foundations (#43381)

Implements both #42942 and #42943 

Co-authored-by: jkatz01 <yehonatankatz@gmail.com>
This commit is contained in:
Carlo
2026-04-22 09:05:07 -04:00
committed by GitHub
co-authored by jkatz01
parent 0d8c8978ea
commit 39e4f616ea
31 changed files with 1588 additions and 42 deletions
@@ -159,6 +159,9 @@ func RunServerWithMockedDS(t *testing.T, opts ...*service.TestServerOpts) (*http
ds.GetHostRecoveryLockPasswordStatusFunc = func(ctx context.Context, hostUUID string) (*fleet.HostMDMRecoveryLockPassword, error) {
return nil, nil
}
ds.GetHostManagedLocalAccountStatusFunc = func(ctx context.Context, hostUUID string) (*fleet.HostMDMManagedLocalAccount, error) {
return nil, nil
}
ds.TeamMDMConfigFunc = func(ctx context.Context, teamID uint) (*fleet.TeamMDM, error) {
return &fleet.TeamMDM{}, nil
}