Restricting data access per user using personalized views
Until now, we have been using this app for personal use only. However, with the updates made in the previous two sections improving the visual appeal of our app and adding the functionality for additional notes for each task, I feel it's ready to be shared with friends and family.
But once we share, every user will be able to create tasks and will also be able to mark them done. Potentially, this can add some chaos and confusion, especially in a work environment, where multiple team members can be working on a single project and might find it confusing as to who a task is meant for and who should complete it. As a result, we will also need a functionality to determine the tasks meant for each user of the app and only display those tasks to them.
Let's see how to make this happen:
- To capture the assignee information for each task, we need a field for storing this information. So, we start by adding another...