Looking at hook_civicrm_aclWhereClause I see there is a $type parameter but there is currently no documentation for this type.

What are the allowed values?

1 Answer 1


These are the various types of permissions to be needed for the users. Allowed values are CRM_Core_Permission::VIEW, CRM_Core_Permission::EDIT, etc.

See more types of permission here - https://github.com/civicrm/civicrm-core/blob/master/CRM/Core/Permission.php#L49-L54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.