Bug 20819: Add check in get_template_and_user to enforce GDPR