Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Scenario: Non-administrative users are allowed to create forum topics, but these topics are created unpublished pending administrative approval.
This is what a user who creates a forum topic sees:
Access denied
Your forum topic was created.
You are not authorized to access this page.
Um, yeah.
Comments
Comment #1
kps CreditAttribution: kps commentedThe attached patch sends the user to the front page instead of the newly created node, if they don't have permission to view it.
Comment #2
kps CreditAttribution: kps commentedLovely. Drupal.org doesn't have an upload directory right now, so it lets me attach a file, then... throws it away. Oh well, that's for another bug report.
Comment #3
kps CreditAttribution: kps commentedHmm, on second thought I like this better:
Comment #4
Dries CreditAttribution: Dries commentedCommitted to HEAD and DRUPAL-4-5. I used the first patch because that makes for the most consistent approach: status messages are reported using drupal_set_message(). Thanks kps.
Comment #5
(not verified) CreditAttribution: commentedComment #6
Jurjen de Vries CreditAttribution: Jurjen de Vries commentedThis bug is back again in Drupal 6.
Comment #7
Jody LynnPlease open a new issue and explain steps to reproduce if this problem exists. It's not really relevant to a conversation from 2004.