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
- 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
- Is it possible to Schedule Attachments in WordPress?
- Allow variable amount of comments before pagination
- Is post ID number always incremental n+
- post__in for get_posts with a dynamic array
- Check if post has children or not
- Create custom page in WooCommerce
- Duplicate posts
- How to check if a role has a specific capability
- Create a separate JS application for an individual post?
- post_parent is 0 when uploading new files
- Redirection to taxonomy posts list after post submit.
- Frontend Post Excerpt field mapping
- Divide Loop Into Days & Categories
- Can I set and show “important” post in my blog?
- WordPress – Hide posts in admin from user who did not write them
- How to display different number of posts
- What part of template to edit to remove category name from the top of posts?
- Register post status, exclude from searches
- Are User Levels Still Currently Used?
- Ajax Dynamic Archives not showing correct results
- Load post attached images on a single page site with fancybox
- use wpml_post_language_details function other plugin based on $post->ID [closed]
- Non-existant URL redirects to existant one
- How to Next and Prevous Navigation Buttons on the end of the page with custom image Using Wp Post Navigation Plugin
- Exclude the first ‘n’ number of posts of a tag from home page?
- how to show single post in a custom template
- wp_posts table: safely remove unused columns to save database storage
- Remove current category from post but display all others
- How to get links to the last N posts in a specific category?
- wp_update_post question on array
- Why won’t pagination work?
- Single post page breaks when post is more than 30,000 words
- Front end post submission form with duplicate type fields
- How do I include the category next to the title of a post?
- How to add some html formated text to every new post in WordPress
- Posts and Pages: 404 Page not found
- WordPress post next/prev not working
- When sending a newsletter -not with wordpress- the server has 100% cpu [closed]
- Are post, page and category IDs unique to each other?
- Author Avatar as default first image
- changing parent_id on post
- How to display list of results
- Some blog posts containing source code fail to save draft or publish
- Cannot publish posts, but can create new pages
- Problem paginating a subquery on a post
- How to setup default value of post_id
- Google indexing duplicate page content with Page #### in post title and /page-2 in permalink instead of the ones I set
- Display post by Random Authors on Page Refresh
- Trigger on DB make problem on wordpress?
- How to show WP admin edit page within template page/post?
- Automatic Table of contents with categories and posts
- Create blog post from external source and set publication date
- How do I prevent draft posts from being accessible publicly?
- How to filter out post from a category not its subcategory in wordpress dashboard
- How can you control what a user is allowed to post in the backend?
- Can’t create posts with WP DB Abstraction Plugin
- Bulk Attach Or Insert Media To Post Without Opening Post Editor
- How to get alphabetic listing x other posts, based on first letter post?
- wp trim function not working
- Custom post page has attributes of latest post [closed]
- Output number of WordPress posts remaining until a post milestone is reached