Merge "Save appIds permissions for each user"