CivicTechFredericton / mealplanner

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

[#666] - Added role check for Meal Plan assign user dropdown #684

Closed jon-dalton closed 6 months ago

jon-dalton commented 6 months ago

Describe the technical changes contained in this PR Added a check for admin role or meal designer role when displaying the assign user drop down menu on the Create Meal Plan popup.

Previous behaviour The drop down menu would appear for all users, despite client users not having the ability to reassign plans.

New behaviour The box does not load if a normal user but loads as normal for admin and meal designer.

Related issues addressed by this PR Fixes #666

Have the following been addressed?