WordPress.org

Making WordPress.org

Opened 3 months ago

Last modified 2 months ago

#3043 assigned enhancement

Allow team reps to assign contributor badges

Reported by: hlashbrooke Owned by: schlessera
Milestone: Priority: normal
Component: Profiles Keywords: needs-patch
Cc:

Description

As per the discussion here: https://meta.trac.wordpress.org/ticket/3036#comment:4

Currently it seems that only Network Administrators can assign badges to contributors (i.e. add them to the badge groups). It would be great if we could extend this to allow selected individuals (the team reps most likely) to do this as well.

While some badges are assigned automatically, there are certain contribution paths that are not able to have automated badges due to the nature of the contributions. In those cases, the contributors need to be manually added to the relevant group(s) and it would be a whole lot simpler if team reps could do this themselves at their discretion.

Let me know if you need any further info from me about the requirements here, but it's pretty straight forward as an idea (although I'm not sure how simple it would be to implement).

Change History (5)

#1 @coreymckrill
3 months ago

  • Keywords needs-patch added
  • Owner set to coreymckrill
  • Status changed from new to accepted

This ticket was mentioned in Slack in #meta by hlashbrooke. View the logs.


3 months ago

This ticket was mentioned in Slack in #meta by sergey. View the logs.


3 months ago

#4 @schlessera
2 months ago

I looked into this issue in more detail, and I think it should be pretty straightforward to build a plugin that provides a frontend version of the "Add users" functionality you can find on the backend Groups administration screen. It should basically allow a group admin to provide one or more user names (or emails) and then just add them, without passing through invites or requests.

Before I go ahead and code a plugin like this, is there any security or privacy implication that would make this a non-option?

The groups are only used for management purposes and don't get any notifications, so I guess circumventing the invite should not be an issue.

It would mean that a group admin can search through the entire list of user names and emails, instead of only those that are friends. Would this cause a problem?

#5 @coreymckrill
2 months ago

  • Owner changed from coreymckrill to schlessera
  • Status changed from accepted to assigned

I think the frontend management page kind of already exists, actually, it's just that it's currently only available to super admins.

I can't think of any security/privacy issues, as long as the frontend management page is only available to group admins. @coffee2code or @jjj may have more insight on this, though.

Note: See TracTickets for help on using tickets.