No, at the moment user permissions are only available for the logged-in user.

In general, if you need to change permissions for one or more users, it’s better to either change them for the entire role, or create a custom role just for those users. You can use a plugin like User Role Editor to create new roles.

Hi, This does not function as I expected, it states in the FAQ on your web site:

How do I make a menu inaccessible to everyone but myself?

You can configure a menu item to be accessible only to a specific user. To do this, set its capability field to “user:” + user login. For example, if you have a user John Smith with the login “smith”, set the capability field to “user:smith”. Now only this user will be able to see that menu.

But I cannot work out how to do this? Basically I want to restrict access to certain menus to me only. It seems setting the restriction for one admin user applies to all?

If you want to be the only one who can see a menu, just disable it for all roles and then (re-)enable it for “Current user”. You don’t need to manually set capabilities for that.

You can also do it via “user:…” capabilities, but it will be more complicated:

Enable the menu for your role and “current user”.

Open menu properties and click the “Edit…” button next to the “Permissions” field.

Enter “user:yourusername” in the “Extra capability” field.

Save changes.

In general, the capability field is intended for advanced configuration and situations that call for more complex logic, like “allow only users that have role A or role B, but not capability C, and deny user Steve in particular”.

Allows you the ability to see everything…but limit what other users or user types can see. Has been a God send in creating WordPress sites for my clients. I block off Plugins, Settings and anything else I don’t want them going in and messing up!