a tool for shared writing and social publishing
Something went wrong. Try again.
re-architect access around permission tokens master
Tokens give you permissions over a set of entities. When an entity is created it defines its set. Permissions are, read, write, change_entity_set, and create_token. The latter two are unused as of now. Tokens also define their "root entities" so they can be used directly in links to give access. This may later prove to be a bad idea, but works for now! In the code we add the context of EntitySetProvider. For now there is just on at the top level of a doc, but we will need to wrap other sections of the tree if we implement scoped permissions.
Author Jared Pereira Date (Jul 3, 2024, 7:43 PM UTC) Commit f14e28ba f14e28ba6ba25e86342f23e2671e1f15ba3bf103 Parent 90d9013b 90d9013bc2c30f2a23ca824f73729458fcedbad8