Title: Feature Request: Allow by User role
Last modified: April 2, 2017

---

# Feature Request: Allow by User role

 *  Resolved [jlev00](https://wordpress.org/support/users/jlev00/)
 * (@jlev00)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/feature-request-allow-by-user-role/)
 * Hi – would it be possible to add an “allow by user role”?
 * Once logged in, “Administrator” should be able to view all pages regardless of
   other settings. And if possible I’d like to be able to extend this functionality
   to other roles, selectable from the settings.
 * Please let me know what you think, and if you would like further clarification–
   happy to assist 🙂

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [IP2Location](https://wordpress.org/support/users/ip2location/)
 * (@ip2location)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/feature-request-allow-by-user-role/#post-8989867)
 * You will bypass the frontend block rules if you were signed in. In other words,
   you are able to browse frontend page with no restriction.
 *  Thread Starter [jlev00](https://wordpress.org/support/users/jlev00/)
 * (@jlev00)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/feature-request-allow-by-user-role/#post-8990021)
 * Hi ip2location – thanks for the reply.
 * Does that apply for all roles?
 * As per my response here:
 * [https://wordpress.org/support/topic/redirect-loop-when-entering-the-url/](https://wordpress.org/support/topic/redirect-loop-when-entering-the-url/)
 * I wonder whether the strange behavior I am seeing is because I am developing 
   on a local PC. I’ll do some testing in a staging environment. Thanks again for
   your response 🙂
 *  Thread Starter [jlev00](https://wordpress.org/support/users/jlev00/)
 * (@jlev00)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/feature-request-allow-by-user-role/#post-8990059)
 * Confirmed this is an issue due to developing on local PC; not sure why but everything
   functions as expected on live site.
 *  Plugin Author [IP2Location](https://wordpress.org/support/users/ip2location/)
 * (@ip2location)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/feature-request-allow-by-user-role/#post-8990298)
 * Hi,
 * Can you go “IP Query” tab in the plugin and let me know the IP detected in your
   local PC. Also, can you share the screenshot of your frontend settings page?
 *  Thread Starter [jlev00](https://wordpress.org/support/users/jlev00/)
 * (@jlev00)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/feature-request-allow-by-user-role/#post-8990473)
 * Hi ip2location – the IP address is a fe80:: address assigned by my router.
 * I can’t paste a screenshot but my Front End settings are:
 * —
    Enable Frontend Blocking: selected
 * Block all countries except countries listed below: Afghanistan
 * Show the following page when visitor is blocked: Custom Error Page (Not Available
   in your Country)
    —
 * When you said:
 * > You will bypass the frontend block rules if you were signed in. In other words,
   > you are able to browse frontend page with no restriction.
 * did you mean “signed in as Administrator” only? I tried logging in as a Subscriber
   on a live site but was blocked. This is why I would like to be able to override
   the blocking functionality based on selected roles 🙂
 *  Plugin Author [IP2Location](https://wordpress.org/support/users/ip2location/)
 * (@ip2location)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/feature-request-allow-by-user-role/#post-8993388)
 * [@jlev00](https://wordpress.org/support/users/jlev00/) Noted. We will add this
   feature in coming release.
 *  Thread Starter [jlev00](https://wordpress.org/support/users/jlev00/)
 * (@jlev00)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/feature-request-allow-by-user-role/#post-8993434)
 * 😀 THANK YOU!!!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Feature Request: Allow by User role’ is closed to new replies.

 * ![](https://ps.w.org/ip2location-country-blocker/assets/icon-128x128.png?rev=
   2121917)
 * [IP2Location Country Blocker](https://wordpress.org/plugins/ip2location-country-blocker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ip2location-country-blocker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ip2location-country-blocker/)
 * [Active Topics](https://wordpress.org/support/plugin/ip2location-country-blocker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ip2location-country-blocker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ip2location-country-blocker/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [jlev00](https://wordpress.org/support/users/jlev00/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/feature-request-allow-by-user-role/#post-8993434)
 * Status: resolved