Answers.Body: <p>These are the various <strong>types</strong> of permissions to be needed for the users. Allowed values are <code>CRM_Core_Permission::VIEW</code>, <code>CRM_Core_Permission::EDIT</code>, etc.</p>
  
  <p>See more types of permission here - <a href="https://github.com/civicrm/civicrm-core/blob/master/CRM/Core/Permission.php#L49-L54" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/blob/master/CRM/Core/Permission.php#L49-L54</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-02-01T08:32:28.743Z
Answers.LastActivityDate: 2017-02-01T08:32:28.743Z
Answers.UserDisplayName: jitendra - fuzion
Body: <p>Looking at <a href="https://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_aclWhereClause" rel="nofollow noreferrer">hook_civicrm_aclWhereClause</a> I see there is a <code>$type</code> parameter but there is currently no documentation for this type.</p>
  
  <p>What are the allowed values?</p>
  
Tags: <php><hooks><acl>
Title: Hook permissions `type`
ThreadText: # Hook permissions `type`
  
  (Asked by: username_0 on 2017-02-01)
  
  Looking at [hook\_civicrm\_aclWhereClause](https://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_aclWhereClause) I see there is a `$type` parameter but there is currently no documentation for this type.
  
  What are the allowed values?
  
  **Tags:** php, hooks, acl
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-02-01. Score: 1 | Accepted answer
  
  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>
  
  
  ---
  
  