Currently, a Guardian user is able to make a weekplan for the Trustee, which should not be intended. If the Trustee tries to access its weekplan, the application crashes.
To Reproduce
Steps to reproduce the behavior:
Login to a Guardian user and identify a Trustee user.
Create a Weekplan for the Trustee.
Logout of the Guardian user, and login to the Trustee.
Try and access the newly created weekplan.
Expected behavior \
The functionality should not be available for a Guardian when inspecting a Trustee.
Description
Currently, a Guardian user is able to make a weekplan for the Trustee, which should not be intended. If the Trustee tries to access its weekplan, the application crashes.
To Reproduce Steps to reproduce the behavior:
Expected behavior \ The functionality should not be available for a Guardian when inspecting a Trustee.