Skip to:
Content

bbPress.org

Opened 14 years ago

Closed 14 years ago

#2005 closed defect (bug) (fixed)

Super admin's role set to forum participant when writing

Reported by: 082net Owned by:
Priority: high Milestone: 2.2
Component: Component - Users Version: 2.1.2
Severity: major Keywords: has-patch
Cc:

Description

Super admin's role changed to 'Forum participant'(default role) when writing a topic/reply.

That's because Super Admin can do 'ALL' including 'bbp_masked'

Patch::
bbp-includes/bbp-core-caps.php line:529 of v2.1.2

function bbp_global_access_auto_role() {
.....
	if ( !is_super_admin() && current_user_can( 'bbp_masked' ) ) {
....

Attachments (1)

super-admin-patch.patch (480 bytes ) - added by 082net 14 years ago.

Download all attachments as: .zip

Change History (3)

#1 @netweb
14 years ago

  • Milestone 2.1.3Awaiting Review

#2 @johnjamesjacoby
14 years ago

  • Component GeneralUsers
  • Milestone Awaiting Review2.2
  • Resolutionfixed
  • Status newclosed

Thanks for the report. This is already fixed in trunk.

Note: See TracTickets for help on using tickets.