User Permissions Plugin


Download: User Permissions
Version: 0.8.4
Supports: WordPress 2.6.2
Other: | SVN
Support: Not supported anymore

User Permissions is a plugin that takes the simple WordPress permissions models one step further and allows you to assign permissions to specific posts that restrict users or roles from reading or editing it.

To summarize:

  • Restrict reading or writing of post or page according to the user’s role (i.e. prevent non-registered users reading a post)
  • Allow specific users to read or write a post or page
  • Permissions are assigned directly inside the post itself – there is no additional interface
  • Fully localized

This plugin works very well with Red Alt’s excellent Role Manager plugin. If you are interested in using permissions then you will probably be interested in that too.


The plugin is simple to install:

  1. Download User Permissions
  2. Unzip
  3. Upload user-permissions directory to your /wp-content/plugins directory

You can find full details of installing a plugin on the plugin installation page.


Using the User Permissions is very simple. When you are editing a post or page a new form will appear to the right of the content:

Edit Box

When a role is enabled, all other roles are restricted. That is, if you give the administrator read and write access to a post then all other roles that are not enabled are restricted. If no roles are restricted then access is determined by the WordPress defaults.

The user section allows you to additionally specify user IDs (comma-separated) that are specifically allowed access. Any user listed here is allowed access, even if they are otherwise denied by their role.

If you restrict read access to a post then it is removed from the home page, search results, and archives, for anyone who does not have permissions. You can additionally define a post ID which will a restricted user will be redirected to should they attempt to view the post.

An administrator cannot be restricted.


Please direct all support questions to the User Permissions support forum. Any support questions left on this page may not be answered.

Support & Bugs

This plugin is no longer actively maintained.

111 Responses to User Permissions Plugin

  1. This seems like a useful plugin, but I am having trouble getting it to work. When I edit a post, I set Roles to “Allow” and check a few boxes. But when I save the post all the settings in the permissions box go back to the default. Does that mean that it is not saving the settings?

    I was trying to test whether or not the plugin will block an unregistered user from reading the posts.

    I am using the latest WordPress (2.0.5).

  2. sorry, please delete my previous comment….

    of course it’s possible to grant/revoke edit permissions,
    it’s only not possible to hide posts….

  3. It does not work for me either. It just does not save the settings. After hitting Save or Publish it just reverts to the default ignore settings…

  4. It wasn’t working for me either, so I had a dig around and found that “unserialize” needs to be called twice in “get_restrictions”. Like all the best hacks, I have no idea why, but it works and that’s all I wanted!

    You can apply the fix by changing line 190 from:

    return unserialize ($row->meta_value);


    return unserialize(unserialize($row->meta_value));

    Hope that helps.

    Thanks for the plugin too, it’s exactly what I was looking for!

  5. This isn’t working for me at all. The settings are not saved.

    I have tried the ‘unserialize’ hack but that hasn’t worked. You say that the ‘edit_permissions’ capability should be created with role manager but how do I do that?

    Any ideas? It’s perfect for what I need… if only it worked!

  6. I have the same problem as Paxton i.e. I hit publish and the settings aren’t being saved.

    I tried Phil’s hack and unfortunately that didn’t seem to fix the plugin.

    Please help fix this plugin – it is an amazing addition to the WP admin.

    Thank you

  7. okay, the per-post privilege settings seem to work great for ‘Posts’, but not at all for ‘Pages’.


    (thanks again for writing much needed this plugin)

  8. I agree, per-post privileges don’t work for ‘Pages’. I am using WordPress 2.1 release candidate and need this plugin for our schoolhomepage.

  9. argh. this is driving me crazy because this plugin seems to be perfect. it just don’t work!
    I tried Phil Newston’s hint “line190: return unserialize(unserialize($row->meta_value));” in fact it made the permission settings save correctly. unfortunately this just hast no effect.

    a page with a permission (ALLOW) for one special usergroup can still be seen by anyone … :( is it because auf my wordpress version? (2.0.7 – german as the 2.1 didn’t work with “Role Manager”)?

    It would be great if anyone had an idea to solve this!
    :) Bernd