1
0
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:
Nils Adermann
2006-06-10 23:11:03 +00:00
parent 8b40e7fe33
commit 1c169ed089
19 changed files with 157 additions and 90 deletions

View File

@@ -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;