1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-19 07:41:08 +01:00

bots get the same access as guests for forums having AUTH_ALL in 2.0.x

git-svn-id: file:///svn/phpbb/trunk@7069 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2007-02-25 17:02:13 +00:00
parent 5a720f7fa1
commit 83059bd4fc

View File

@ -812,6 +812,7 @@ function phpbb_convert_authentication($mode)
// AUTH_ALL
case AUTH_ALL:
mass_auth('group', $new_forum_id, 'guests', $new_acl, ACL_YES);
mass_auth('group', $new_forum_id, 'bots', $new_acl, ACL_YES);
mass_auth('group', $new_forum_id, 'registered', $new_acl, ACL_YES);
break;
@ -981,7 +982,7 @@ function phpbb_convert_authentication($mode)
global $auth;
// Let us see if guests/registered users have access to these forums...
// Let us see which groups have access to these forums...
foreach ($parent_forums as $row)
{
// Get the children