Skip to:
Content

Opened 3 years ago

Closed 14 months ago

#3098 closed defect (bug) (wontfix)

Accounts with ”blocked” or ”inactive” roles are still active/accessible

Reported by: pjnu Owned by:
Milestone: Priority: normal
Severity: normal Version: 1.2.8
Component: Forums Keywords: dev-feedback close
Cc:

Description

I’m trying to temporarily disable a user account temporarily but that simply isn’t happening. When I go to wp-admin/ms-users.php , click Edit, and select Blocked or Inactive, the user is still able to freely login.

If this is true, the only way I can block access is to delete the account. Can someone help me fix this weird issue? Thanks.

Discussion thread: http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/accounts-with-blocked-or-inactive-roles-are-still-able-to-be-accessed/

Change History (9)

comment:1 DJPaul3 years ago

If you disable BuddyPress, does the problem go away?

comment:2 r-a-y3 years ago

The problem appears to come from bbPress as the roles "blocked" and "inactive" do not exist natively in Wordpress, they are from bbPress.

The forum bridge code in bp-forums-bbpress.php has something to do with this.

---

Also, single WP doesn't have a native way to set users to spam in the WP admin dashboard unless you use multisite. Sounds like single WP should also offer similar functionality for this.

comment:3 r-a-y3 years ago

WP roles appear to be saved in the wp_options table under the "wp_user_roles" option_name.

The bbPress roles are not removed when BuddyPress is deactivated.

comment:4 DJPaul3 years ago

  • Component changed from Core to Forums
  • Keywords dev-feedback added; security roles removed
  • Milestone changed from Awaiting Review to 1.3

Thanks for investigating. This is a bit messy because if it's an existing (external) bbPress install, and BuddyPress removes those roles, we would break stuff in bbPress. Maybe BuddyPress can update the roles when the forums component is deactivated and bbPress had been installed by BuddyPress.

comment:5 r-a-y3 years ago

Sounds like a plan!

comment:6 DJPaul3 years ago

  • Milestone changed from 1.3 to Awaiting Review

I'm taking this out of scope for 1.3 as it's a tricky problem and upon further consideration, I can't think of a foolproof way of doing this. Need some more input from jjj.

comment:7 DJPaul3 years ago

  • Milestone changed from Awaiting Review to Future Release

(This issue should clear itself as people migrate to the bbPress plugin)

comment:8 chrisclayton2 years ago

  • Keywords close added
  • Severity set to normal

I believe this gets resolved in 1.6 with the capabilities page. (can't find related ticket).

comment:9 r-a-y14 months ago

  • Milestone Future Release deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Another bbPress 2 takeover ticket!

Note: See TracTickets for help on using tickets.