Events Filtering Debug
Current User Info:
{'user_id': 16, 'user_name': 'Public user for Mesotech Iran', 'partner_id': 47570, 'is_public': True, 'is_internal': False, 'healthcare_contact_type_id': None, 'user_type_verified': False, 'user_information_verified': False, 'is_verified': False, 'user_types': []}
Access Info:
{'is_internal': False, 'is_verified': False, 'needs_warning': False, 'user_types': []}
Context Info:
{'env_context': {'lang': 'fa_IR', 'allowed_company_ids': [3], 'website_id': 1, 'edit_translations': False}, 'has_website': False, 'website_id': 1}
Events Summary:
- Total events in database: 8
- Published events: 3
- Events visible to current user: 3
All Events Details:
[{'event_name': 'Istanbul Workshop (mesotech)', 'event_id': 1, 'website_published': False, 'has_healthcare_types': False, 'healthcare_types': [], 'healthcare_type_ids': [], 'visible_to_user': False}, {'event_name': 'ورکشاپ آذربایجان غربی', 'event_id': 8, 'website_published': True, 'has_healthcare_types': False, 'healthcare_types': [], 'healthcare_type_ids': [], 'visible_to_user': True}, {'event_name': 'وبینار مالیات پزشکان ۱۴۰۴', 'event_id': 19, 'website_published': True, 'has_healthcare_types': False, 'healthcare_types': [], 'healthcare_type_ids': [], 'visible_to_user': True}, {'event_name': 'ورکشاپ 3 خرداد-رویا فاتحی', 'event_id': 20, 'website_published': False, 'has_healthcare_types': False, 'healthcare_types': [], 'healthcare_type_ids': [], 'visible_to_user': False}, {'event_name': 'وبینار تازه های مو و صورت دکتر خانساری ', 'event_id': 22, 'website_published': False, 'has_healthcare_types': False, 'healthcare_types': [], 'healthcare_type_ids': [], 'visible_to_user': False}, {'event_name': 'وبینار پرسش و پاسخ مزوتراپی ', 'event_id': 21, 'website_published': True, 'has_healthcare_types': False, 'healthcare_types': [], 'healthcare_type_ids': [], 'visible_to_user': True}, {'event_name': 'روز پزشک', 'event_id': 26, 'website_published': False, 'has_healthcare_types': False, 'healthcare_types': [], 'healthcare_type_ids': [], 'visible_to_user': False}, {'event_name': 'CYTO MasterClass', 'event_id': 27, 'website_published': False, 'has_healthcare_types': False, 'healthcare_types': [], 'healthcare_type_ids': [], 'visible_to_user': False}]