Revert "kill check_acl callback of generic_permission()"

This reverts commit c16abaa71c1e3fe7c38277944d0f575752b967e4.