Title: [Plugin: IP Filter] Allow access tp authors
Last modified: August 20, 2016

---

# [Plugin: IP Filter] Allow access tp authors

 *  [devpaq](https://wordpress.org/support/users/devpaq/)
 * (@devpaq)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-ip-filter-allow-access-tp-authors/)
 * Is there a way I can allow users with a status of author to add IPs to block?
   I want to give access to the authors to add IPs but don’t want to give them administrative
   rights.
 * [http://wordpress.org/extend/plugins/ip-filter/](http://wordpress.org/extend/plugins/ip-filter/)

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

 *  Plugin Author [GabSoftware](https://wordpress.org/support/users/gabsoftware/)
 * (@gabsoftware)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-ip-filter-allow-access-tp-authors/#post-2414961)
 * Currently, you will need to edit the file ipfilter.php and change the line 95:
 * `if( current_user_can( 'manage_options' ) )`
 * By:
 * `if( current_user_can( 'publish_posts' ) )`
 * And then Authors should be able to modify the list.
 *  Thread Starter [devpaq](https://wordpress.org/support/users/devpaq/)
 * (@devpaq)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-ip-filter-allow-access-tp-authors/#post-2414962)
 * Thanks, Gab
    I modified that line as well as the few other times it checks for
   the user type. Now it lets me see the page but if I try to save the changes (
   which goes to options.php) I get the “cheatin’ uh?” message.
 *  Plugin Author [GabSoftware](https://wordpress.org/support/users/gabsoftware/)
 * (@gabsoftware)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-ip-filter-allow-access-tp-authors/#post-2414963)
 * Which lines do you modified exactly?
 *  Thread Starter [devpaq](https://wordpress.org/support/users/devpaq/)
 * (@devpaq)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-ip-filter-allow-access-tp-authors/#post-2414964)
 * I modified the one you mentioned which is around line 89
 * Line 184
    `if( current_user_can( 'manage_options' ) )`
 * Line 279 under
    `$ipfilter_options_page_handle = add_submenu_page(`
 * Line 304
    `if ( ! current_user_can( 'manage_options' ) )`
 * All of them I replaced “manage_options” with “publish_posts”
 * I tried searching the forums, but there seems the “cheatin” message is so general.
 *  Plugin Author [GabSoftware](https://wordpress.org/support/users/gabsoftware/)
 * (@gabsoftware)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-ip-filter-allow-access-tp-authors/#post-2414974)
 * I think the problem is that publishers can’t access the Settings section, only
   admins can.

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

The topic ‘[Plugin: IP Filter] Allow access tp authors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ip-filter_b0b0b0.svg)
 * [IP Filter](https://wordpress.org/plugins/ip-filter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ip-filter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ip-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/ip-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ip-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ip-filter/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [GabSoftware](https://wordpress.org/support/users/gabsoftware/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-ip-filter-allow-access-tp-authors/#post-2414974)
 * Status: not resolved