Describe the technical changes contained in this PR
Created a condition to only allow the users who do not have the role of app_user to view the Create New Template.
Previous behaviour
Previously, any user of the app would be able to create a new meal plan template, a functionality to be used only by app admins or meal designers.
New behaviour
Now, the app allows users with only admin and meal designer roles to create a new meal template.
Related issues addressed by this PR
Fixes #687
Have the following been addressed?
[ ] Have test cases been created for all of the changes?
[ ] Do all of the test cases pass?
[ ] Has the testing been done using the default docker-compose environment?
[ ] Are documentation changes required?
[ ] Does this change break or alter existing behaviour?
Describe the technical changes contained in this PR Created a condition to only allow the users who do not have the role of
app_user
to view the Create New Template.Previous behaviour Previously, any user of the app would be able to create a new meal plan template, a functionality to be used only by app admins or meal designers.
New behaviour Now, the app allows users with only admin and meal designer roles to create a new meal template.
Related issues addressed by this PR Fixes #687
Have the following been addressed?