[wp-trac] [WordPress Trac] #36897: "You do not have sufficient permissions to access this page." should have relevant links to go back to dashboard.

WordPress Trac noreply at wordpress.org
Sun Sep 25 20:21:04 UTC 2016


#36897: "You do not have sufficient permissions to access this page." should have
relevant links to go back to dashboard.
-------------------------+------------------------------
 Reporter:  Nikschavan   |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Plugins      |     Version:  4.6
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  ui
-------------------------+------------------------------

Comment (by ramiy):

 I should add that not all the users come from the dashboard. This is a
 '''security check''' to prevent access by unauthorized users, usually
 after the `if ( ! current_user_can( 'xxx' ) )` check. It also stops
 '''unauthorized boots and hackers''' trying to apply different attack
 vectors on WordPress back-end. I think it should remain a simple message
 without any links.

 BTW, in WP4.6 we updated all the permission error messages (see #34521).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36897#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list