Revert "Check entry_class before checking permission. bugid:112346"

This reverts commit 59952ac1eb4f22c9c8ee7b10d30b1405f782a252.
If object is mt_entry record or mt_category record, check object class strictly. bugid:112346