From 2c3c764d9f10625f93b405bf07b501ce9fe93fe1 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 24 Sep 2003 16:48:04 +0000 Subject: [PATCH] fix to call {edit|view]_user_hooks again: ACL-manager and access-control --- admin/inc/class.uiaccounts.inc.php | 2 +- admin/setup/setup.inc.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/admin/inc/class.uiaccounts.inc.php b/admin/inc/class.uiaccounts.inc.php index 979d155bea..2f2c9f30bc 100755 --- a/admin/inc/class.uiaccounts.inc.php +++ b/admin/inc/class.uiaccounts.inc.php @@ -24,7 +24,7 @@ 'edit_user_hook' => True, 'edit_group' => True, 'view_user' => True, - 'view_user_hook' => True, + 'edit_view_user_hook' => True, 'group_manager' => True, 'accounts_popup' => True ); diff --git a/admin/setup/setup.inc.php b/admin/setup/setup.inc.php index 6499d2cf1b..777208ab82 100755 --- a/admin/setup/setup.inc.php +++ b/admin/setup/setup.inc.php @@ -44,7 +44,8 @@ 'config', 'deleteaccount', 'manual', - 'view_user', + 'view_user' => 'admin.uiaccounts.edit_view_user_hook', + 'edit_user' => 'admin.uiaccounts.edit_view_user_hook', 'sidebox_menu' );