From 523d7ea679fbee2ac23be781cc70a43e10997e54 Mon Sep 17 00:00:00 2001 From: chris Date: Sun, 17 Sep 2006 17:46:59 +0200 Subject: install script update II - alter acl configuration to use @admin group as superuser darcs-hash:20060917154659-9b6ab-37145ebda1f04ad29ae430b463f7305eaccad9fd.gz --- install.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'install.php') diff --git a/install.php b/install.php index b00a231d6..bec6440a0 100644 --- a/install.php +++ b/install.php @@ -262,7 +262,7 @@ EOT; if($d['acl']){ $output .= '$conf[\'allowdebug\'] = 0'.";\n"; $output .= '$conf[\'useacl\'] = 1'.";\n"; - $output .= '$conf[\'superuser\'] = \''.$d['superuser']."';\n"; + $output .= "\$conf['superuser'] = '@admin';\n"; } $ok = $ok && fileWrite(DOKU_LOCAL.'local.php',$output); @@ -270,7 +270,7 @@ EOT; if ($d['acl']) { // create users.auth.php // --- user:MD5password:Real Name:email:groups,comma,seperated - $output = join(":",array($d['superuser'], md5($d['password']), $d['fullname'], $d['email'], 'users')); + $output = join(":",array($d['superuser'], md5($d['password']), $d['fullname'], $d['email'], 'admin')); $output = @file_get_contents(DOKU_CONF.'users.auth.php.dist')."\n$output\n"; $ok = $ok && fileWrite(DOKU_LOCAL.'users.auth.php', $output); @@ -296,6 +296,7 @@ EOT; $output .= "* @ALL 8\n"; } + $output .= "* @admin 255\n"; $ok = $ok && fileWrite(DOKU_LOCAL.'acl.auth.php', $output); } return $ok; -- cgit v1.2.3