Getting the latest records and permissions.