Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
We could go extra militant here and disallow access to node/add/forum (without a forum specified) altogether. Then people would basically /have/ to use the "New topic" buttons. I'm not sure if it's worth going that crazy.
I wouldn't hide node/add/forum I would just turn the forum setting into #type => value if the forum is specified in the URL, or if it's an existing post and the editor isn't an administrator.
Comments
Comment #1
michelleAF issue: #269560: Hide drop down forum list from non admins . Has a patch but took an approach I wasn't keen on.
Michelle
Comment #2
webchickWe could go extra militant here and disallow access to node/add/forum (without a forum specified) altogether. Then people would basically /have/ to use the "New topic" buttons. I'm not sure if it's worth going that crazy.
Comment #3
merlinofchaos commentedI wouldn't hide node/add/forum I would just turn the forum setting into #type => value if the forum is specified in the URL, or if it's an existing post and the editor isn't an administrator.
Comment #4
webchickSounds reasonable.
Comment #5
webchickOk, I used that patch as a basis and committed http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/drubb/drubb....
We are probably ultimately going to want to find a different permission to base this around than "administer nodes" but this should work for now.