Support for acl_check func