Skip to content

Commit

Permalink
Subroles: Restore Mentor Manager ability to edit Meetup posts.
Browse files Browse the repository at this point in the history
357d381 introduced the `meetup_wrangler`, distinct from `wordcamp_wrangler`. That unintentionally removed the ability of Mentor Managers to edit meetups.
  • Loading branch information
iandunn committed Sep 21, 2023
1 parent e4f6df9 commit 889b779
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
namespace WordCamp\Trusted_Deputy_Capabilities;

/*
* Allow trusted WordCamp Deputies to perform limited Super Admin functions
* Allow trusted WordCamp Deputies to perform limited Super Admin functions.
*
* "Super Deputy" and "Trusted Deputy" are legacy terms from pre-2023. The current term is "Program Manager".
* See https://make.wordpress.org/community/2023/06/06/updates-to-the-community-team-mentor-program/
*
* They should be able to:
* - Perform administrator-level functions on all sites
Expand Down
1 change: 1 addition & 0 deletions public_html/wp-content/mu-plugins/wcorg-subroles.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ function add_subrole_caps( $allcaps, $caps, $args, $user ) {
'read' => true, // Access to wp-admin.
'wordcamp_manage_mentors' => true,
'wordcamp_wrangle_wordcamps' => true,
'wordcamp_wrangle_meetups' => true,
);
break;

Expand Down

0 comments on commit 889b779

Please sign in to comment.