Autocompleting POI address not working for non-staff users #1777
Labels
🍼 good first issue
Good for newcomers
‼️ prio: high
Needs to be resolved ASAP.
🐛 bug
Something isn't working
☺️ effort: low
Should be doable in <4h
Milestone
Describe the Bug
At the moment, the auto completion feature introduced in #1744 does only work for staff users.
Steps to Reproduce
Expected Behavior
The address completion should also work for non staff users.
To solve this, the
region_slug
parameter needs to be passed to the view, even if it's unused.(Because our access control treats all views without the
region_slug
parameter as "staff area" and denies region users to access them.)Actual Behavior
A
PermissionDenied
error occursAdditional Information
At least the error is not caught in the JS code, so there is no error message shown to users, but the feature just doesn't work.
Traceback
The text was updated successfully, but these errors were encountered: