aau-giraf / weekplanner

Main repository of the Weekplanner tablet application
GNU General Public License v3.0
15 stars 3 forks source link

When choosing a logged in user on the Choose_citizen_screen, only citizens are shown, and sometimes the page is empty including the add new user button. #982

Open Lyallvaldr opened 11 months ago

Lyallvaldr commented 11 months ago

Description

As can be seen in the choose_citizen_bloc.dart file, only Citizens are listed when showing logged in users, and only if the current role is a Guardian, since it links logged in citizens to a guardian user. Instead, all logged in users should always be shown on this list, and it should be done without linking citizens to a guardian user, since users need to log in independent of each other.

Possible Suggested Solution