Revert "Add permission metadata to contact is_deleted field"
authorColeman Watts <coleman@civicrm.org>
Thu, 2 Dec 2021 01:34:49 +0000 (20:34 -0500)
committerColeman Watts <coleman@civicrm.org>
Thu, 2 Dec 2021 01:34:49 +0000 (20:34 -0500)
commitd69d223927d6a65760859c85752c322847510d44
treed88bc6f163a8bb2581e0515d4c52bc9f2b8a0af1
parente1092ab13de3fe806fc35e668aa9ee9c75347800
Revert "Add permission metadata to contact is_deleted field"

This reverts commit d2ff128ce0503dc1956f02c86035686ea016f10f.
ACLs for accessing deleted contacts are already enforced in the query,
so this field was being hidden for UI purposes not ACL purposes.
It had the unfortunate side-effect of crashing any API call using
`is_deleted` in the WHERE clause for non-permissioned users.
CRM/Contact/DAO/Contact.php
xml/schema/Contact/Contact.xml