Opened 9 years ago
Closed 8 years ago
#2905 closed defect (bug) (fixed)
BuddyPress: Banned group member can still post if form is visible
Reported by: | r-a-y | Owned by: | johnjamesjacoby |
---|---|---|---|
Milestone: | 2.6 | Priority: | normal |
Severity: | major | Version: | 2.2 |
Component: | Extend - BuddyPress | Keywords: | has-patch |
Cc: |
Description
Originally posted on BuddyPress Trac:
https://buddypress.trac.wordpress.org/ticket/6835
This is a follow-up to #2095. #2095 hides the post form for a banned group member, but if the banned group member presses the "Back" button in their browser prior to the ban, they can still view the post form and is able to create additional replies.
We also need to check the permissions before the post is actually submitted.
Attached is a patch that does this.
Attachments (3)
Change History (7)
Note: See
TracTickets for help on using
tickets.
Updated patch uses meta caps to block a banned user with access to a topic/reply form from posting.
@r-a-y Can you confirm that this still works as intended?