Skip to:
Content

BuddyPress.org

Opened 10 months ago

Closed 8 months ago

#9097 closed defect (bug) (fixed)

Member types should be only "assignable" by community admins

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 14.0.0 Priority: normal
Severity: normal Version:
Component: Members Keywords: has-patch
Cc:

Description

I'll edit this description soon, just adding the ticket to avoid forgetting about this issue.

Attachments (1)

9097.patch (1.3 KB) - added by vapvarun 8 months ago.
9097 patch

Download all attachments as: .zip

Change History (6)

#1 @imath
10 months ago

  • Owner set to imath
  • Status changed from new to assigned

#2 @vapvarun
8 months ago

Taking over this ticket, will submit a patch shortly

This ticket was mentioned in Slack in #buddypress by vapvarun. View the logs.


8 months ago

@vapvarun
8 months ago

9097 patch

This ticket was mentioned in PR #270 on buddypress/buddypress by imath.


8 months ago
#4

  • Keywords has-patch added

Thanks a lot @vapvarun for your initial patch. I've improved it a bit so that the capability check is consistent between the disabled attribute and the Callback used to save the information into the database.

Trac ticket: https://buddypress.trac.wordpress.org/ticket/9097

#5 @imath
8 months ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 13795:

Make sure only Community Admins can assign member types

Props vapvarun

Fixes #9097
Closes https://github.com/buddypress/buddypress/pull/270

Note: See TracTickets for help on using tickets.