FORUM-413 | Type error in checkPermission in Forum Service