summaryrefslogtreecommitdiff
path: root/modules/profile
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2005-04-11 22:48:27 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2005-04-11 22:48:27 +0000
commit23bccfd1c8731823205354768e5cf7a61e42a395 (patch)
treec94803df446ebafcb6e8d7270527bf3923002835 /modules/profile
parentbc44805f3cae8e18a300db9fa3469ff0daf17ac1 (diff)
downloadbrdo-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.module2
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',