Describe the bug
Since we removed the functionality to assign user, when we create a duplicate meal plan the new meal plan will not have any user assigned.
To Reproduce
Steps to reproduce the behavior:
- Go to 'mealplan page' as a client (app_user role)
- Click on 'copy' button in a mealplan
- Observe the user of the newly created duplicate meal plan
Expected behavior
The user should be the current logged in user as the client will want to have their id to be associated with their meal plan.
Additional context
Solution: So when it is app_user role who has logged in, duplicate_meal_plan should take the current person id as p_id.