From a1a5159f1961b574b320523be45c05e8566468f7 Mon Sep 17 00:00:00 2001 From: "ian%hixie.ch" Date: Mon, 6 May 2002 03:10:50 +0000 Subject: [PATCH] Hardcoded constants strike again... Changing the setup code to let the first administrator have the rights to let other people be administrators. git-svn-id: svn://10.0.0.236/trunk@120808 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/PLIF/PLIF/Service/Components/Login.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/webtools/PLIF/PLIF/Service/Components/Login.pm b/mozilla/webtools/PLIF/PLIF/Service/Components/Login.pm index bc9c52adfbc..4153769c79f 100644 --- a/mozilla/webtools/PLIF/PLIF/Service/Components/Login.pm +++ b/mozilla/webtools/PLIF/PLIF/Service/Components/Login.pm @@ -326,8 +326,8 @@ sub setupInstall { $app->output($contact, $user)->loginDetails($address, $password); } - # add the user to group 1 as an administrator (so he's an administrator of administrators) - $user->joinGroup(1, 2); # XXX HARDCODED CONSTANT ALERT + # add the user to group 1 as an owner (so he's the owner of administrators) + $user->joinGroup(1, 3); # XXX HARDCODED CONSTANT ALERT # add an adminMessage to the user $user->adminMessage('Logged in with administrative privileges, please be careful.');