Here is an example that restricts access for an admin of an organic group to his own profile.
/** * Implementation of hook_menu_alter() */ function tandem_internal_menu_alter(&$callbacks) { $callbacks['user/%user/delete']['access callback'] = 'tandem_internal_restrict_access_to_profile'; $callbacks['user/%user_category/edit']['access callback'] = 'tandem_internal_restrict_access_to_profile'; $callbacks['user/%user_category/edit/account']['access callback'] = 'tandem_internal_restrict_access_to_profile';
The blog contains tips for using the Drupal content management system/framework. Dominique De Cooman is a drupal developer consultant working in Antwerp and Living in Gent. Feel free to contact me to hire me for your projects