Fix name and permissions syncing