Open hichana opened 4 years ago
I would happily accept a PR to address this deprecation. @hichana I appreciate the initial research on your part. If the community can support us with the new implementation, we'll take care of updating the tutorial ASAP.
Great starter, thank you.
The permissions scheme used in the project is deprecated: https://docs.fauna.com/fauna/current/security/permissions.html
It would be nice to convert it to use ABAC. For example, a couple steps to do this that I've found so far (there may be more but it seems to work for me so far) are:
change the query to create the collection 'todos' from
CreateCollection({ name: "todos", permissions: { create: Collection("users") } });
toCreateCollection({ name: "todos" });
.change the todo model query to write the todos from
to