the Short and sweet way would be to store the post id that they are allowed to edit in custom user meta. Then us wp_update_post and check if the id is in the user meta if so update if not don’t.
Related Posts:
- grant multiple roles access to specific admin menu item
- wp_update_user not updating
- Is WordPress’ is_user_logged_in() secure?
- Temporarily disable user role login and replace with message
- how to add custom user capabilities using add_user_meta or something else?
- Is there a way to set the user Role based on email domain
- pre_get_posts Remove posts based on meta value with ‘post__not_in’
- What is the difference between “create_users” and “add_users” capabilities?
- Access on specific pages in wordpress for a specific user
- How to ‘unpublish’ or ‘hide’ posts when user role changes?
- Hide Specific User Page
- Let new user role to ‘edit_others_posts’ of other user role, not of its own type
- How can I have different groups of editors only allowed to edit certain parent+subpages?
- How do I remove the Other Roles field (from User Role Editor plugin) in wp-admin/user-new.php
- How to redirect specific post type with user role
- wordpress editor role remove all but ‘menus’ in appearance menu
- Parent User and Child User – relate users
- How to create user specific pages (not user role!)?
- Assigning certain authors to specific editors
- Restrict Access in Admin Panel
- Limit a user to have access to only specified pages?
- Plugin creation – how to add user rights?
- User restricted only show posts assigned to current user
- Restrict custom post content to specific user
- Hide front-end from every logged out user and redirect them to the default login page
- How to restrict an admin page, if the user is not superadmin?
- Need to block user role from accessing bbPress all together
- How to create a front facing user sign up, log in and profile pages like FoodGawker.Com [closed]
- Infinite redirects at front end if logged in user is not an Admin (Toolset Access)
- Is there a way to allow users with “Subscriber” user role to access media library in backend and frontend
- How to make WP page accessile only to specific user roles
- Check what capabilitie(s) an action requires
- Custom User Role: Can Edit Own Page, Cannot Create New
- Is it possible to restrict a specific user to edit a specific custom post.
- New folder and file permissions are not correct
- How to change a user’s role?
- Is it possible to add new user Roles?
- Troubleshooting a “You do not have sufficient permissions to access this page” error
- Restrict admin access to certain pages for certain users
- Make A WordPress Page Accessible To Admins Only, Redirect Other User Roles
- Temporarily give ‘manage_options’ capability
- Only allow administrators and editors to access wp-admin
- Hide specific admin users’ posts
- How to allow registered users to change their user role through frontend?
- Shold I manually add ‘cap’ to admin role ?
- Getting a user role from the user login name
- Why is wp-login redirecting to the home page when I use this function?
- Allow contributor to view own scheduled post
- Editor and contributor roles not correct after adding function
- How are roles stored in the database?
- How to delete user roles?
- Identical members roles on all sites in a multisite
- Capability for allowing user to post own comments without moderation
- I am adding a new class to my body tag if the logged in user is subscriber, need help
- How to Orderby User Role?
- Prevent custom user role to add new pages
- The delete_posts capability?
- Capabilites not working [closed]
- get approved users only ( ultimate member plugin )
- remove/hide pages from users backend
- Assign second role to user
- Adding Capabilities to a WordPress User Account
- New user is assigned 2 roles: customer and superadmin
- bbPress plugin moderator roles
- Allowing user to edit posts based on the post status
- Purpose of Adding Capability to Role But Not Grant?
- bbPress: How to set conditional for specific user -or- user role, to be displayed in user profile
- Menu page with list of users
- How to check user role?
- Create a User Role with permissions to only upload files to the media library?
- Get and display a user’s profile info?
- How to get a users list by who created them?
- Paypal API and WordPress
- Is there a Capability that checks as true for non-logged in users?
- Building Forums with Custom Post Types
- How to write conditions based on user capabilities not on user role?
- remove_cap nothing changes
- get_post_meta with related user
- Show special backend content for certain roles
- WordPress user role with create user capability?
- Why can my subscribers create new posts for review?
- Custom Role read_private_posts Not Working
- Update user role for expired membership
- Saving user meta “member_id” based on user role
- Change logo url based on WP user role
- Display specific post categories to specific user roles
- Role and Capabilities: How do I allow user role to access theme options without enabling ‘manage_options’?
- How to show private pages based on a user’s role?
- Allow signed in users (subscribers) to see their drafts
- How to sync user database with “user role editor” plugin enabled
- Need to create admin user without capability to create user
- Give editor ability to edit custom settings without access to Main Settings
- file upload user profile
- How to add user roles? [closed]
- Check if specific role exists
- Front-end ajax problem all users and guests getting a 302 redirect when accessing wp-admin/admin-ajax.php
- How to assign a custom gender to a user role?
- Hide block of HTML if the users role is a certain role
- How might I enable a user to view Draft pages from a different Author, without the ability to edit?
- Display users by role