diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-04-11 22:48:27 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-04-11 22:48:27 +0000 |
commit | 23bccfd1c8731823205354768e5cf7a61e42a395 (patch) | |
tree | c94803df446ebafcb6e8d7270527bf3923002835 /modules/profile | |
parent | bc44805f3cae8e18a300db9fa3469ff0daf17ac1 (diff) | |
download | brdo-23bccfd1c8731823205354768e5cf7a61e42a395.tar.gz brdo-23bccfd1c8731823205354768e5cf7a61e42a395.tar.bz2 |
- #4166: Respect 'access userlist' permission for profile data.
Diffstat (limited to 'modules/profile')
-rw-r--r-- | modules/profile/profile.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module index 6de53a4d3..4212a3e43 100644 --- a/modules/profile/profile.module +++ b/modules/profile/profile.module @@ -35,7 +35,7 @@ function profile_menu($may_cache) { if ($may_cache) { $items[] = array('path' => 'profile', 'title' => t('user list'), 'callback' => 'profile_browse', - 'access' => TRUE, + 'access' => user_access('access user profiles'), 'type' => MENU_SUGGESTED_ITEM); $items[] = array('path' => 'admin/settings/profile', 'title' => t('profiles'), 'callback' => 'profile_admin_overview', |