Determines whether a user has access to a specific route based on allow/deny rules.
This function checks the allow and deny properties of a route to determine if the user (userId) is permitted to access it, considering locationData.
allow
deny
userId
locationData
The ID of the user requesting access.
The route object containing access rules (allow and deny).
Additional data used to determine access permissions.
true
false
Determines whether a user has access to a specific route based on allow/deny rules.
This function checks the
allowanddenyproperties of a route to determine if the user (userId) is permitted to access it, consideringlocationData.