1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 19:24:01 +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:
Tristan Darricau
2015-07-22 11:30:50 +02:00
13 changed files with 69 additions and 25 deletions

View File

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