Drupal issueshttps://lab.civicrm.org/dev/drupal/-/issues2019-04-17T15:38:50Zhttps://lab.civicrm.org/dev/drupal/-/issues/42Drupal8: Can't upload images via CKEditor/kcfinder2019-04-17T15:38:50ZJonGoldDrupal8: Can't upload images via CKEditor/kcfinderTo authenticate, CKEditor calls [CRM_Utils_System::loadBootStrap() followed by CRM_Core_Permission::check()](https://github.com/civicrm/civicrm-packages/blob/master/kcfinder/integration/civicrm.php#L105-L108).
No Drupal8-specific method...To authenticate, CKEditor calls [CRM_Utils_System::loadBootStrap() followed by CRM_Core_Permission::check()](https://github.com/civicrm/civicrm-packages/blob/master/kcfinder/integration/civicrm.php#L105-L108).
No Drupal8-specific method exists, but when I created one, `CRM_Core_Permission_Drupal8::check()` couldn't load the [current user](https://github.com/civicrm/civicrm-core/blob/master/CRM/Core/Permission/Drupal8.php#L61). I assume something is failing in the `loadBootstrap()` call but I can't figure out what it is.
[This SE post](https://drupal.stackexchange.com/questions/196203/how-do-i-check-the-current-user-session) seems to contain details, but I'm not Drupal-savvy enough to interpret it.5.13.0