Add cache system to check_object_permission

Refer: #315
Merge pull request #321 from kawazrepos/improve_permission_strategy

Add cache system to check_object_permission