diff options
| author | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2015-07-22 11:30:50 +0200 |
|---|---|---|
| committer | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2015-07-22 11:30:50 +0200 |
| commit | e1cbe735380d98f2b87f4243317fd55cbc0439af (patch) | |
| tree | f7047bc58b88f666051ee4eafe001ce898763672 /phpBB/posting.php | |
| parent | 8bfbd7782815aeee6ada6fa8a495b780fc21cb3d (diff) | |
| parent | 7d31232846e29311e5b76bf32f41f64da7985a79 (diff) | |
| download | forums-e1cbe735380d98f2b87f4243317fd55cbc0439af.tar forums-e1cbe735380d98f2b87f4243317fd55cbc0439af.tar.gz forums-e1cbe735380d98f2b87f4243317fd55cbc0439af.tar.bz2 forums-e1cbe735380d98f2b87f4243317fd55cbc0439af.tar.xz forums-e1cbe735380d98f2b87f4243317fd55cbc0439af.zip | |
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
Diffstat (limited to 'phpBB/posting.php')
| -rw-r--r-- | phpBB/posting.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index 584b24d41a..47fdb2d378 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -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; |
