function geocoder_services_check_perms in Geocoder 7.2
Geocoder Services check permissions
Given a plugin, check to see if the user has permission to execute it via AJAX / services
2 calls to geocoder_services_check_perms()
- geocoder_services_check_request in modules/
geocoder_services/ geocoder_services.services.inc - Geocoder Services Check Request
- geocoder_services_services_access in modules/
geocoder_services/ geocoder_services.services.inc - Access control callback for the service resource: retrieve.
File
- modules/
geocoder_services/ geocoder_services.services.inc, line 141
Code
function geocoder_services_check_perms($plugin_id) {
return user_access('bypass_geocoder_services_access') || user_access('geocoder_services_plugin_' . $plugin_id);
}