Adds error-logs-controller.js which I forgot yesterday.
Fixes PermissionUtils.