PHP Warning:  Constant BASE_PATH already defined in /Users/rpmbbu/LocalPHPStorm/m1_erp_config/config.php on line 17

Warning: Constant BASE_PATH already defined in /Users/rpmbbu/LocalPHPStorm/m1_erp_config/config.php on line 17
PHP Warning:  session_name(): Session name cannot be changed after headers have already been sent in /Users/rpmbbu/LocalPHPStorm/m1_erp_config/config.php on line 57

Warning: session_name(): Session name cannot be changed after headers have already been sent in /Users/rpmbbu/LocalPHPStorm/m1_erp_config/config.php on line 57
PHP Warning:  session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent in /Users/rpmbbu/LocalPHPStorm/m1_erp_config/config.php on line 58

Warning: session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent in /Users/rpmbbu/LocalPHPStorm/m1_erp_config/config.php on line 58
PHP Warning:  session_start(): Session cannot be started after headers have already been sent in /Users/rpmbbu/LocalPHPStorm/m1_erp_config/config.php on line 65

Warning: session_start(): Session cannot be started after headers have already been sent in /Users/rpmbbu/LocalPHPStorm/m1_erp_config/config.php on line 65

================================================================================
PERMISSION SCANNER & SYNC UTILITY
MODE: DRY RUN (no changes will be made)
================================================================================

📚 LOADING DATABASE PERMISSIONS
--------------------------------------------------------------------------------
  Loaded 373 permissions from database

🔍 SCANNING CONTROLLERS
--------------------------------------------------------------------------------
  Scanned 143 controller files
  Found 116 files with permission checks
  Discovered 116 unique permissions

📋 DISCOVERED PERMISSIONS REPORT
--------------------------------------------------------------------------------
  Permission                               Checks   Controllers
--------------------------------------------------------------------------------

  (CORE):
  admin                                    86       ActionMenuEditorController,... ✓

  1099_CONTRACTORS:
  1099_contractors.export                  1        Form1099Controller ✓
  1099_contractors.generate_reports        1        Form1099Controller ✓
  1099_contractors.view                    1        Form1099Controller ✓
  1099_contractors.view_payments           1        Form1099Controller ✓

  ACCOUNTING:
  accounting.approve                       2        ExpenseController ✓
  accounting.create                        25       AccountController, BankAcco... ✓
  accounting.customer_payments.create      2        CustomerPaymentController ✓
  accounting.customer_payments.view        2        CustomerPaymentController ✓
  accounting.delete                        10       BankAccountController, Budg... ✓
  accounting.edit                          20       BankAccountController, Bank... ✓
  accounting.vendor_payments.create        4        VendorPaymentController ✓
  accounting.vendor_payments.delete        1        VendorPaymentController ✓
  accounting.vendor_payments.edit          2        VendorPaymentController ✓
  accounting.vendor_payments.print_checks  1        VendorPaymentController ✓
  accounting.vendor_payments.view          3        VendorPaymentController ✓
  accounting.vendor_payments.void          1        VendorPaymentController ✓
  accounting.view                          35       AccountController, Accounti... ✓

  ADMIN:
  admin.settings                           1        PipedriveImportController ✓
  admin.system_scripts                     3        SystemScriptsController ✓

  AUDIT_LOGS:
  audit_logs.view                          1        AuditLogController ✓

  BANK_IMPORT:
  bank_import.create                       2        BankImportController ✓
  bank_import.delete                       1        BankImportController ✓
  bank_import.edit                         2        BankImportController ✓
  bank_import.import                       1        BankImportController ✓
  bank_import.manage_rules                 4        BankImportController ✓
  bank_import.view                         2        BankImportController ✓

  CAMERA_AUDIT:
  camera_audit.capture                     1        CameraAuditController ✓
  camera_audit.delete                      1        CameraAuditController ✓
  camera_audit.stations                    3        CameraAuditController ✓
  camera_audit.verify                      1        CameraAuditController ✓
  camera_audit.view                        3        CameraAuditController ✓

  CRM:
  crm.create                               6        ClientController, CompanyCo... ✓
  crm.delete                               6        ClientController, CompanyCo... ✓
  crm.edit                                 6       