mucadele-cs319 / BilHealth

CS 319 Project - Health Center Management
GNU General Public License v3.0
4 stars 0 forks source link

Some of the access control should be granular down to per-user level #39

Open vedxyz opened 2 years ago

vedxyz commented 2 years ago

Currently, many of the controller methods do not check for access control beyond a user belonging to a role. For example, this means that any doctor may be able to take actions on cases that they aren't assigned to.

There are currently two service methods implemented at a basic level to achieve some granularity. These are only used in a few places across the controllers.