[wp-trac] Re: [WordPress Trac] #9575: Can't access profile.php: Unauthorized

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 20 06:20:59 GMT 2009


#9575: Can't access profile.php: Unauthorized
-------------------------------+--------------------------------------------
 Reporter:  deziiner           |        Owner:          
     Type:  defect (bug)       |       Status:  reopened
 Priority:  normal             |    Milestone:  2.8     
Component:  Role/Capability    |      Version:  2.7.1   
 Severity:  normal             |   Resolution:          
 Keywords:  reporter-feedback  |  
-------------------------------+--------------------------------------------

Comment(by Denis-de-Bernardy):

 here's the array in wikicode:


 {{{
 array(5) {
   ["administrator"]=>
   array(2) {
     ["name"]=>
     string(13) "Administrator"
     ["capabilities"]=>
     array(56) {
       ["switch_themes"]=>
       bool(true)
       ["edit_themes"]=>
       bool(true)
       ["activate_plugins"]=>
       bool(true)
       ["edit_plugins"]=>
       bool(true)
       ["edit_users"]=>
       bool(true)
       ["edit_files"]=>
       bool(true)
       ["manage_options"]=>
       bool(true)
       ["moderate_comments"]=>
       bool(true)
       ["manage_categories"]=>
       bool(true)
       ["manage_links"]=>
       bool(true)
       ["upload_files"]=>
       bool(true)
       ["import"]=>
       bool(true)
       ["unfiltered_html"]=>
       bool(true)
       ["edit_posts"]=>
       bool(true)
       ["edit_others_posts"]=>
       bool(true)
       ["edit_published_posts"]=>
       bool(true)
       ["publish_posts"]=>
       bool(true)
       ["edit_pages"]=>
       bool(true)
       ["read"]=>
       bool(true)
       ["level_10"]=>
       bool(true)
       ["level_9"]=>
       bool(true)
       ["level_8"]=>
       bool(true)
       ["level_7"]=>
       bool(true)
       ["level_6"]=>
       bool(true)
       ["level_5"]=>
       bool(true)
       ["level_4"]=>
       bool(true)
       ["level_3"]=>
       bool(true)
       ["level_2"]=>
       bool(true)
       ["level_1"]=>
       bool(true)
       ["level_0"]=>
       bool(true)
       ["edit_others_pages"]=>
       bool(true)
       ["edit_published_pages"]=>
       bool(true)
       ["publish_pages"]=>
       bool(true)
       ["delete_pages"]=>
       bool(true)
       ["delete_others_pages"]=>
       bool(true)
       ["delete_published_pages"]=>
       bool(true)
       ["delete_posts"]=>
       bool(true)
       ["delete_others_posts"]=>
       bool(true)
       ["delete_published_posts"]=>
       bool(true)
       ["delete_private_posts"]=>
       bool(true)
       ["edit_private_posts"]=>
       bool(true)
       ["read_private_posts"]=>
       bool(true)
       ["delete_private_pages"]=>
       bool(true)
       ["edit_private_pages"]=>
       bool(true)
       ["read_private_pages"]=>
       bool(true)
       ["delete_users"]=>
       bool(true)
       ["create_users"]=>
       bool(true)
       ["unfiltered_upload"]=>
       bool(true)
       ["edit_dashboard"]=>
       bool(true)
       ["update_plugins"]=>
       bool(true)
       ["delete_plugins"]=>
       bool(true)
       ["install_plugins"]=>
       bool(true)
       ["update_themes"]=>
       bool(true)
       ["install_themes"]=>
       bool(true)
       ["manage_email"]=>
       bool(true)
       ["access_on_maintenance"]=>
       bool(true)
     }
   }
   ["editor"]=>
   array(2) {
     ["name"]=>
     string(6) "Editor"
     ["capabilities"]=>
     array(34) {
       ["moderate_comments"]=>
       bool(true)
       ["manage_categories"]=>
       bool(true)
       ["manage_links"]=>
       bool(true)
       ["upload_files"]=>
       bool(true)
       ["unfiltered_html"]=>
       bool(true)
       ["edit_posts"]=>
       bool(true)
       ["edit_others_posts"]=>
       bool(true)
       ["edit_published_posts"]=>
       bool(true)
       ["publish_posts"]=>
       bool(true)
       ["edit_pages"]=>
       bool(true)
       ["read"]=>
       bool(true)
       ["level_7"]=>
       bool(true)
       ["level_6"]=>
       bool(true)
       ["level_5"]=>
       bool(true)
       ["level_4"]=>
       bool(true)
       ["level_3"]=>
       bool(true)
       ["level_2"]=>
       bool(true)
       ["level_1"]=>
       bool(true)
       ["level_0"]=>
       bool(true)
       ["edit_others_pages"]=>
       bool(true)
       ["edit_published_pages"]=>
       bool(true)
       ["publish_pages"]=>
       bool(true)
       ["delete_pages"]=>
       bool(true)
       ["delete_others_pages"]=>
       bool(true)
       ["delete_published_pages"]=>
       bool(true)
       ["delete_posts"]=>
       bool(true)
       ["delete_others_posts"]=>
       bool(true)
       ["delete_published_posts"]=>
       bool(true)
       ["delete_private_posts"]=>
       bool(true)
       ["edit_private_posts"]=>
       bool(true)
       ["read_private_posts"]=>
       bool(true)
       ["delete_private_pages"]=>
       bool(true)
       ["edit_private_pages"]=>
       bool(true)
       ["read_private_pages"]=>
       bool(true)
     }
   }
   ["author"]=>
   array(2) {
     ["name"]=>
     string(6) "Author"
     ["capabilities"]=>
     array(10) {
       ["upload_files"]=>
       bool(true)
       ["edit_posts"]=>
       bool(true)
       ["edit_published_posts"]=>
       bool(true)
       ["publish_posts"]=>
       bool(true)
       ["read"]=>
       bool(true)
       ["level_2"]=>
       bool(true)
       ["level_1"]=>
       bool(true)
       ["level_0"]=>
       bool(true)
       ["delete_posts"]=>
       bool(true)
       ["delete_published_posts"]=>
       bool(true)
     }
   }
   ["contributor"]=>
   array(2) {
     ["name"]=>
     string(11) "Contributor"
     ["capabilities"]=>
     array(5) {
       ["edit_posts"]=>
       bool(true)
       ["read"]=>
       bool(true)
       ["level_1"]=>
       bool(true)
       ["level_0"]=>
       bool(true)
       ["delete_posts"]=>
       bool(true)
     }
   }
   ["subscriber"]=>
   array(2) {
     ["name"]=>
     string(10) "Subscriber"
     ["capabilities"]=>
     array(2) {
       ["read"]=>
       bool(true)
       ["level_0"]=>
       bool(true)
     }
   }
 }
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9575#comment:11>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list