wrong check on has_acl method