Skip to:
Content

bbPress.org

Opened 11 years ago

Closed 11 years ago

#2005 closed defect (bug) (fixed)

Super admin's role set to forum participant when writing

Reported by: 082net's profile 082net Owned by:
Milestone: 2.2 Priority: high
Severity: major Version: 2.1.2
Component: Component - Users 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 11 years ago.

Download all attachments as: .zip

Change History (3)

#1 @netweb
11 years ago

  • Milestone changed from 2.1.3 to Awaiting Review

#2 @johnjamesjacoby
11 years ago

  • Component changed from General to Users
  • Milestone changed from Awaiting Review to 2.2
  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.