Hook permissions `type`
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