Closed Bug 645027 Opened 13 years ago Closed 13 years ago

User sees forum reply field without permission to post

Categories

(support.mozilla.org :: Forum, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: rbillings, Assigned: paulc)

Details

Users without admin permissions see the Lost Threads forum and the reply field, but get an Access Denied message if they try to post. This repro's in prod as well as stage. As this is a forum intended to file away contributor posts that have been pushed to /questions I believe the intent was to not have users reply there- in which case the field should not display.

1) log in as a non-admin user
2) https://support-release.allizom.org/en-US/forums/lost-threads/704893
3) add reply > submit

expected: no permission to post should remove reply field
actual: access denied message after user submits
Assignee: nobody → paulc
OS: Mac OS X → All
Hardware: x86 → All
Landed on master:
https://github.com/jsocol/kitsune/commit/f2c71139313302010d7e9b14135489c9b17ce6a3

Hides the reply fields and the 'Post a new thread' link when user is logged in but does not have permission to post in the forum.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Verified reply field and post a new thread are hidden when user isn't an admin
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.