Actually I got it, just needed some simple logic.
If the post has an “owner” (the only person that can edit the post) I manually set the custom field “owned” to 1 and the author as the one that can edit.
On the edit post page (I’m doing it front-end) I check if “owned” custom field is = 1 and the author is = current user then I show the edit form. If not, I display a message. If the custom field “owned” is = 0, then I display the edit form so everyone can edit.
Related Posts:
- Remove Posts Quick Edit link for specific user role? WP 3.3
- allow editor/author to publish others posts but not publish their own
- Admin Post List Only Show One Category
- Only an admin can add new tags
- Update post counts (published, draft, unattached) in admin interface
- How to prevent a post from being deleted?
- Allow user to “edit_others_posts” to save only, not publish
- How to limit user to publish post per day and per role?
- Add role that restricts user to post in specific category
- Allow role to delete posts but block him the wp-admin
- Multiple authors for single post without plugin
- If specific user role then sticky post
- Downgrade user from role that allows post creation
- Remove the Edit button in posts for permalinks on certain user roles? WP 3.3
- Posts with multiple authors with different roles
- Update a users role based on number of posts published
- Change user role when post approve
- Stop users posting into category while still seeing contents of the category
- How to allow users to post only in certain category and hide elements from edit page?
- Post visibility based on user role
- Permission issue with custom post type – not added to menu – by plugin
- “edit_published_posts” and “edit_other_post” issue
- User levels and post visibility
- (solved) getting post author’s user role
- Delete post after x minutes if user role is
- Show posts by author of membership level (Paid Membership Pro)
- Hide comments and posts posted by other user
- Prevent posts with certain post_meta to be edited
- Show 10 latest posts only from users with contributors role
- Limit Post Creation Count by Author or Role
- allow user to create a draft post but not publish wordpress
- Administrator Posts
- Changing a users posts to drafts upon role change
- Allow author to duplicate but not edit post
- Disable `create_post` for built-in post type
- Add new post only in assigned category
- Remove All in One Seo from Posts for Contributors
- each user having category with their name and can add sub categories post in that category
- WordPress strips some attributes for author posts
- Display posts with id equal to relationship value
- How to allow Contributors to edit their own posts, whilst still needing to be reviewed by an admin?
- Unable to delete attached file from folder programmatically
- How can get the last post date of the user?
- Posts are not displaying on their category and tag page
- How to convert attachment pages to Posts?
- Tag for custom post type
- Random post_id at wp_insert_post
- Javascript – How do I get specific post fields?
- wp_trash_post() duplicates post to trash
- Can’t find webpage on All Pages or All Post menus
- How to search through “post title” and “tags” using WP_Query?
- How to create custom search form function including post “tags”
- How to backup WP blog posts to computer, not new site
- Display post by Random Authors on Page Refresh
- Make categories appear random
- How to publish a post if condition is met?
- How to retrieve all meta data directly from the $post object? Such as $post->related_topics?
- How to get post creation date?
- How to set the post permalink using the WordPress REST API?
- Multiple post in One Loop in wordpress
- What is proper filter or hook action to add data to the $post object?
- how to filter posts by category without page load (ajax) in wordpress?
- Added a ACF field to custom page and want the results to show as a column in admin
- Display specific posts based on an ID of another post
- WordPress get tags in “publish_post” hook
- How do I scope out why I have two “posts” menus in an admin?
- Thumbnails and images in the blog post are not loading
- Remove the URL author of post on all comments
- Automatically delete post in a single category when a new one is created
- Does having category name in permalinks affect SEO when having a post in multiple categories?
- Numbered Pagination Showing The Same Posts After Altering WP_Query
- WordPress Website is Auto-Posting strange posts
- Finding the original post date
- Show items from a DB in a Post
- Template with ACF and Pagebuilder
- Modified core/image rendering not showing in posts – only on pages
- Is it possible to change the default WP post table’s data source?
- WordPress Pods Custom Post Type – separate Media Upload folder for each custom Post Types
- Not display an image of category of custom post
- Customizing a new page used for blog posts with Avada theme
- Order by meta_key field in WordPress not meta_value field value
- a WordPress connected to 2 database
- “read more” redirects to the wrong page
- Diffrent layout for posts [duplicate]
- Settings missing from the add new post page
- WP posts using index.php instead of single.php
- How to increase the number posts that displays by a hierarchical taxonomy? (HTTP ERROR 500)
- Deleted page still shows and is showing posts archive
- Display simple html code in post
- How to display particular set of wordpress post on a webpage?
- How to show post views shortcode data for each post on Posts List Page?
- Need to display a Jan 1st post as the site’s front page on Jan 1st, and Jan 2nd post as front page on Jan 2nd etc
- query posts with selected post ids first
- Ajax: load content from post I clicked
- Related Customs posts
- How can I create a Survey Form in WordPress that users can fill in and then submit the entire survey contents as a post?
- Get origin or context of a how a post got created and/or updated
- How to copy a specific piece of the post to another page
- How to add a ‘News’ section to specific posts in WordPress
- How to Make my Homepage Display a Single Specific Post?