A simple plugin to let you control who has access to what posts. By default in WordPress, we can create users
and assign them to roles. Roles are automatically assigned certain capabilities. See the codex article for a list of
Roles and Capabilities. Sometimes default roles are not enough,
and we have one-off situations. Editorial Access Manager lets you set which users or roles have access to specific
posts. Perhaps you have a user who is a Contributor, but you want them to have access to edit one specific page? This
plugin can help you.
There are no overarching settings for this plugin. Simply go to the edit post screen in the WordPress admin and
configure access settings in the “Editorial Access Manager” meta box in the sidebar.
Managing Access by Roles
In the “Editorial Access Manager” meta box, enable custom access management by “Roles”. Once enabled, the post can only be
edited by users that fall into those roles. However, no matter what, the Administrator role can always edit any post.
This if for safety reasons. You can also only use roles that have the “edit_posts” capability; therefore “Subscriber” by
default cannot be used.
Managing Access by Users
In the “Editorial Access Manager” meta box, enable custom access management by “Users”. Once enabled, the post can only be
edited by designated users. However, no matter what, any administrator can edit any post. This if for safety reasons.
You can also only use users that have the “edit_others_posts” capability; therefore “Subscriber” users by default
cannot be used.
Fork the plugin on Github
- Upload and activate the plugin.
- Browse to any post in the WordPress admin and navigate to the “Editorial Access Management” meta box in
Contributi e sviluppo
“Editorial Access Manager” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.Collaboratori
Changelog (registro delle modifiche)
- Only enqueue scripts and styles when editing a public post type. Props jeremyfelt
- Fix bug where logged out user could edit role restricted post @tripgrass
- Bulk edit access. Props @marcochiesi
- Filterable post types. Props @marcochiesi
- Custom capability to use EAM meta box. Props @marcochiesi
- Add Italian language support. Props @marcochiesi
- Add post table column to show editorial access. Props @marcochiesi
- Remove source file for minified CSS. Props @marcochiesi
- Tweak capability handling. Props @marcochiesi
- Add proper bower.json
- Remove unit testing of unnecessary WP versions
- Properly revoke access, if necessary, for users that have edit_page but not edit_post.
- Plugin release