Changeset 38696 for trunk/tests/phpunit/tests/user/capabilities.php
- Timestamp:
- 09/30/2016 10:10:27 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/capabilities.php
r38522 r38696 53 53 54 54 'unfiltered_html' => array( 'administrator', 'editor' ), 55 56 'create_sites' => array(),57 'delete_sites' => array(),58 'manage_network' => array(),59 'manage_sites' => array(),60 'manage_network_users' => array(),61 'manage_network_plugins' => array(),62 'manage_network_themes' => array(),63 'manage_network_options' => array(),64 55 65 56 'activate_plugins' => array( 'administrator' ), … … 142 133 'unfiltered_html' => array(), 143 134 144 'create_sites' => array(),145 'delete_sites' => array(),146 'manage_network' => array(),147 'manage_sites' => array(),148 'manage_network_users' => array(),149 'manage_network_plugins' => array(),150 'manage_network_themes' => array(),151 'manage_network_options' => array(),152 135 'activate_plugins' => array(), 153 136 'create_users' => array(), … … 227 210 final private function _getSingleSiteMetaCaps() { 228 211 return array( 212 'create_sites' => array(), 213 'delete_sites' => array(), 214 'manage_network' => array(), 215 'manage_sites' => array(), 216 'manage_network_users' => array(), 217 'manage_network_plugins' => array(), 218 'manage_network_themes' => array(), 219 'manage_network_options' => array(), 220 229 221 'upload_plugins' => array( 'administrator' ), 230 222 'upload_themes' => array( 'administrator' ), … … 237 229 final private function _getMultiSiteMetaCaps() { 238 230 return array( 231 'create_sites' => array(), 232 'delete_sites' => array(), 233 'manage_network' => array(), 234 'manage_sites' => array(), 235 'manage_network_users' => array(), 236 'manage_network_plugins' => array(), 237 'manage_network_themes' => array(), 238 'manage_network_options' => array(), 239 239 'upload_plugins' => array(), 240 240 'upload_themes' => array(), 241 241 242 'customize' => array( 'administrator' ), 242 243 'delete_site' => array( 'administrator' ),
Note: See TracChangeset
for help on using the changeset viewer.