[wp-trac] Re: [WordPress Trac] #2257: Edit Page capability requires Edit Post in order to work

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 14 19:17:56 GMT 2006


#2257: Edit Page capability requires Edit Post in order to work
----------------------------------+-----------------------------------------
 Reporter:  whimsy                |        Owner:  markjaquith
     Type:  defect                |       Status:  reopened   
 Priority:  normal                |    Milestone:  2.1        
Component:  Administration        |      Version:  2.1        
 Severity:  normal                |   Resolution:             
 Keywords:  bg|reporter-feedback  |  
----------------------------------+-----------------------------------------
Comment (by _ck_):

 I just realized the above may not be clear as I am running low on sleep.
 Here it is in a nutshell:

 ''To visualize completely proper menu behavior in 2.1a2, install the
 menu.php from 2.0.4 and install+activate the "admin dropdown menu" plugin.

 All menus will then be properly shown based on accessability (hidden if
 they are not, exposed if they are) for both users and admin.
 ''

 '''The newer menu.php code with $menu_nopriv'''
 1. does NOT show admin all their options added by plugins
 (it hides some things that should not be hidden)

 2. will cause users to get a lack of privilege error for items they  can
 see, and should have access to, that are added by plugins


 '''Simple demonstration of the problem:'''
 1. If you are running 2.1a2, install the
 [http://www.redalt.com/wiki/Role+Manager Role Manager plugin] and then try
 to find the menu option under Users -> Roles  (I cannot)
 There are a few other plugins that also exhibit this behavior.
 2. roll back to the 2.0.4 menu.php, install the "admin dropdown menus"
 plugin and you will now be able to find the menu items

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2257>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list