mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00: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:
parent
5a720f7fa1
commit
83059bd4fc
1 changed files with 2 additions and 1 deletions
|
@ -812,6 +812,7 @@ function phpbb_convert_authentication($mode)
|
||||||
// AUTH_ALL
|
// AUTH_ALL
|
||||||
case AUTH_ALL:
|
case AUTH_ALL:
|
||||||
mass_auth('group', $new_forum_id, 'guests', $new_acl, ACL_YES);
|
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);
|
mass_auth('group', $new_forum_id, 'registered', $new_acl, ACL_YES);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -981,7 +982,7 @@ function phpbb_convert_authentication($mode)
|
||||||
|
|
||||||
global $auth;
|
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)
|
foreach ($parent_forums as $row)
|
||||||
{
|
{
|
||||||
// Get the children
|
// Get the children
|
||||||
|
|
Loading…
Add table
Reference in a new issue