request.url.path would return the absolute path f.e.: /collections/test-collectionrequest.scope.get("route").path returns /collections/{collection_id} which is correct for matching permissions
PR Checklist:
[x] Code is formatted and linted (run pre-commit run --all-files)
[x] Tests pass (run make test)
[x] Documentation has been updated to reflect changes, if applicable
Description: Basic Auth bug fix & test fix.
request.url.path
would return the absolute path f.e.:/collections/test-collection
request.scope.get("route").path
returns/collections/{collection_id}
which is correct for matching permissionsPR Checklist:
pre-commit run --all-files
)make test
)