WordPress.org

Making WordPress.org

Changeset 2191


Ignore:
Timestamp:
12/14/2015 12:25:41 PM (6 years ago)
Author:
kovshenin
Message:

WordCamp.org: Add additional Jetpack capabilities to trusted deputies.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/trusted-deputy-capabilities.php

    r1877 r2191  
    3636        'manage_sites'   => true,
    3737
     38        'jetpack_connect' => true,
     39        'jetpack_reconnect' => true,
     40        'jetpack_disconnect' => true,
    3841        'jetpack_network_admin_page' => true,
    3942        'jetpack_network_sites_page' => true,
     
    7376        // Map some Jetpack meta caps back to regular caps.
    7477        // See https://github.com/Automattic/jetpack/commit/bf3f4b9a8eb8b689b33a106d2e9b2fefd9a4c2fb
     78        case 'jetpack_connect':
     79        case 'jetpack_reconnect':
     80        case 'jetpack_disconnect':
    7581        case 'jetpack_network_admin_page':
    7682        case 'jetpack_network_sites_page':
     
    114120
    115121        // Jetpack-specific caps.
     122        'jetpack_connect' => true,
     123        'jetpack_reconnect' => true,
     124        'jetpack_disconnect' => true,
    116125        'jetpack_network_admin_page' => true,
    117126        'jetpack_network_sites_page' => true,
Note: See TracChangeset for help on using the changeset viewer.