A library to handle generating user permissions given a visibility and user authorizations.