CivicTechFredericton / mealplanner

Primary Meal Planner repo
MIT License
9 stars 18 forks source link

Bug 687 change in authorization #691

Closed invisible-pvi closed 6 months ago

invisible-pvi commented 6 months ago

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.

8500FA9D-38A6-43BA-97C5-CB035DE43D7A

Related issues addressed by this PR Fixes #687

Have the following been addressed?