How to change user role setting in members plugin so that user can only edit his own post?

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.