Merge "Gate isForAllProfiles with permission" into main