mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
- forgot to commit common.php
- cleaning up a few more mcp permissions - adjust some links - make global topics work properly in MCP git-svn-id: file:///svn/phpbb/trunk@6045 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -126,6 +126,12 @@ if (!$auth->acl_getf_global('m_'))
|
||||
}
|
||||
}
|
||||
|
||||
// if the user cannot read the forum he tries to access then we won't allow mcp access either
|
||||
if ($forum_id && !$auth->acl_get('f_read', $forum_id))
|
||||
{
|
||||
trigger_error($user->lang['NOT_AUTHORIZED']);
|
||||
}
|
||||
|
||||
if ($forum_id)
|
||||
{
|
||||
$module->acl_forum_id = $forum_id;
|
||||
|
Reference in New Issue
Block a user