mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-08 17:56:52 +02:00
[ticket/8920] Add a MCP PM reports view permission
Anybody who has the permission to read reports in one forum can read PM reports. Solving this problem by adding a new permission to read PM reports. PHPBB3-8920
This commit is contained in:
@@ -274,7 +274,7 @@ function mcp_front_view($id, $mode, $action)
|
||||
}
|
||||
|
||||
// Latest 5 reported PMs
|
||||
if ($module->loaded('pm_reports') && $auth->acl_getf_global('m_report'))
|
||||
if ($module->loaded('pm_reports') && $auth->acl_get('m_pm_report'))
|
||||
{
|
||||
$template->assign_var('S_SHOW_PM_REPORTS', true);
|
||||
$user->add_lang(array('ucp'));
|
||||
|
Reference in New Issue
Block a user