The cookbook should have a section on design patterns for modeling authentication and permissions with Automerge.