Change WordPress user roles and capabilities › Forums › How to or FAQ › Removing Access Capabilities (Once Granted)
Tagged: remove
- This topic has 2 replies, 2 voices, and was last updated 8 years, 3 months ago by flytenewmedia.
-
AuthorPosts
-
19/09/2016 at 14:56 #2764flytenewmediaParticipant
This may sound like a stupid question but how do you remove edit access to a post/page once granted. From post/page screen if I select posts and bulk edit Access Permissions, removing user ID and leaving the User ID field empty displays alert ‘Provide list of userID’. I hit cancel and the Field is then empty but the user can still edit the posts. Anyone?
20/09/2016 at 02:36 #2767VladimirKeymasterI think some clarification is needed. “Edit restrictions” does not give/grunt to a user any additional capabilities. It does not depend from the model you select: ‘Allow’ or ‘Prohibit’. User should have posts edit capabilities already.
When you add ‘edit restrictions’ for user, User Role Editor make a less subset of posts available for edit for this user.Bulk action “Edit Access” from the posts list has a purpose to automate the ‘edit access restrictions’ setup on the user level. You can modify this settings directly opening selected user profile.
So you should input IDs list of users, for which you wish to modify posts edit restrictions. If you do not input users ID list, and suppose that script will update data for all users, it’s a wrong assumption.
Some sites has tens of thousands users – update meta data for every user at such site is not the task which can be fulfilled within the limited time of 1 client-server update request.For example, users 5,7,9 has role ‘editor’ and can edit all posts. After you set for them ‘Allow’ to edit posts with ID 4, 6, 8 those users will see and can edit just those 3 posts.
If you wish to remove such restriction and allow them to edit all posts back, you may do it opening those users profiles one by one and removing post IDs from ‘edit restrictions’ section.
Other way is to use bulk action ‘Edit Access’ at the posts page, select replace existing data, left posts list empty, input user IDs list (5, 7, 9). As the result post IDs will be removed from those users meta data and edit restrictions stop work for them.If you wish to set/remove edit restrictions globally it’s more convenient to work with them at the role level – ‘Posts Edit’ button at the User Role Editor page.
20/09/2016 at 14:53 #2768flytenewmediaParticipantOk thanks that’s making more sense to me now.
-
AuthorPosts
- You must be logged in to reply to this topic.