Advanced Access Manager
[resolved] If GET Request - I get access for restrict (3 posts)

  1. Farlaf
    Posted 2 years ago #

    Thank you for great job.

    I have question. If i set restrict all for post and in url ".../wp-admin/edit.php" have "Access Denied". It's what I need. But if I enter in url something like this - "../wp-end/wp-admin/edit.php?bla" - get access. It's not good.

    Can you help me?


  2. Vasyltech
    Plugin Author

    Posted 2 years ago #

    Hi Farlaf,
    It is tricky part when it comes to manage access to Menu especially when it is Posts or Pages menu.
    I would say, the best way to truly restrict access to admin menu is to uncheck the capability that is assigned to menu. In you case it is Edit Posts.

    We'll try to figure out better way to handle situations like yours.

    Best Regards,

  3. Farlaf
    Posted 2 years ago #

    Thanks for the reply.

    I solved this problem. I use wp_die() when detect edit.php in function.php for special user role.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced Access Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic