Bug 994527 - Fix undefined permissionManager