civicrm/civicrm-core — pull request #944 by pratik-joshi (2013-06-03 15:02:32+00:00)
Title: CRM-12747 : component access permission defining way for end developer

defined a optional property, so that if any end developer wants its search based on certain components, can define its name and if one doesn't want, don't define it.

used CRM_Core_Permission::access for this check.