defguard icon indicating copy to clipboard operation
defguard copied to clipboard

Check unit test for user access to location

Open teon opened this issue 2 months ago • 1 comments

Check if there is a unit test checking if users that do not have access to a location are excluded from GW configuration.

We use this method when creating new devices and it does indeed create a configuration for a device in all netowrks, even if user is not allowed to access them. While there is an is_authorized flag in DeviceNetworkInfo it seems to only be checked for MFA locations.

teon avatar Sep 22 '25 13:09 teon