Rename permissions array to be more consistent