I'm creating a collection manager for movies and books in Drupal 8. Now I have a content type called "collection" and one that is called "Movie". The collection is just a collection of different movies. Now I'm searching for a way that a user can give another user access to his collections and movies.
How can I achieve this in my module?