mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 11:44:08 +02:00
Merge pull request #3781 from Elsensee/ticket/8708-2
[ticket/8708] Add extra permission for posting global announcements * Elsensee/ticket/8708-2: [ticket/8708] Apply permission 'f_announce_global' [ticket/8708] Add f_announce_global permission
This commit is contained in:
@@ -1202,6 +1202,9 @@ if ($submit || $preview || $refresh)
|
||||
switch ($post_data['topic_type'])
|
||||
{
|
||||
case POST_GLOBAL:
|
||||
$auth_option = 'f_announce_global';
|
||||
break;
|
||||
|
||||
case POST_ANNOUNCE:
|
||||
$auth_option = 'f_announce';
|
||||
break;
|
||||
|
Reference in New Issue
Block a user