[wp-trac] Re: [WordPress Trac] #2185: There should be a capability flag for the dashboard

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 6 12:39:09 GMT 2006


#2185: There should be a capability flag for the dashboard
------------------------------------------+---------------------------------
 Reporter:  whimsy                        |        Owner:  anonymous
     Type:  enhancement                   |       Status:  new      
 Priority:  normal                        |    Milestone:  2.1      
Component:  Administration                |      Version:  2.0      
 Severity:  normal                        |   Resolution:           
 Keywords:  bg|has-patch roles bg|commit  |  
------------------------------------------+---------------------------------
Comment (by ryanscheuermann):

 I know this is an old patch, and it's just hanging around, but I thought
 I'd comment on it anyway for reference purposes.

 I've tested this patch and although it does what it claims to do, when you
 remove the "view_dashboard" cap from a user and they attempt to login to
 wp-admin/, it doesn't know what page to redirect them to.  You get a "You
 don't have permission to view this page." right after you log-in.  So, to
 make this patch complete, the login script would have to do some
 intelligent redirect if no caps exist.

 Or, IMHO, we scrap the idea and let plugins implement a "roles-based"
 dashboard view.

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


More information about the wp-trac mailing list