KS-4764: Type error in checkPermission in Forum Service

Problem analysis
	- Wrong type while creating Identity instance

Fix description
	- Convert to correct type before creating instance