macOS Restriction Issue "allowAccountModification"

Hi Apple Community,

I have been Testing with key allowAccountModification in macOS Restriction Payload and found some contrasting behavior

In macOS 14, macOS 15.1 in both of the OS Version when allowAccountModification is set to False it restricts adding new Account in System Settings and this is expected behavior

How ever things are contrasting and not going as expected in the below situation

  1. When macOS 14 Version has 2 profiles for Restriction Payload one with allowAccountModification set to False and another with allowAccountModification set to True it restricts adding Apple Account

  2. When macOS 15.1 Version has 2 profiles for Restriction Payload one with allowAccountModification set to False and another with allowAccountModification set to True it allows adding Apple Account

I remember when restrictions payload keys are contrasting across different profile Apple Uses the most restrictive one among them. But in macOS 15.1 the behavior is unexpected. Is this a issue in 15.1 and is there any list of macOS versions which shows this unexpected behavior

macOS Restriction Issue "allowAccountModification"
 
 
Q