Apply permission checks for LandCoordinator
LandCoordinator can have different rights over different transects. Right now, LandCoordinator can see and modify all the transects that have his countries.
However, it could happen that user with LandCoordinator role is assigned to some transect for other land. And in that case he will be able also to modify this data.
AC
-
add checks if the user is assigned as LandCoordinator in PermissionChecker -
LandCoordinator user that has a record in LandCoordinator table can modify transect with his countries -
LandCoordinator user can only act as a counter on the transect where he is assigned and the country on transect is not among his countries
-
-
Tests
Review
-
add checks if the user is assigned as LandCoordinator in PermissionChecker -
LandCoordinator user that has a record in LandCoordinator table can modify transect with his countries -
LandCoordinator user can only act as a counter on the transect where he is assigned and the country on transect is not among his countries
-
-
Tests
Edited by Michael Voigt