Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: search engine is required, incorrect resource ids being provided #12

Closed
wants to merge 1 commit into from

Conversation

taylorn01
Copy link

@taylorn01 taylorn01 commented Jun 25, 2024

Test that selecting different map layers will render the geometry's for it

@@ -389,7 +390,7 @@ def get(self, request, nodeid, zoom, x, y):
) AS geom,
1 AS total
FROM geojson_geometries
WHERE nodeid = %s and resourceinstanceid not in %s) AS tile;""",
WHERE nodeid = %s and resourceinstanceid in %s) AS tile;""",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't realise I committed this line this is the hacky change I'm not confident in but I'm about to test if it has an impact

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah this is very much required for it to work. This could be related to an inverse affect in the new permission system. If the old system expected a list of resource IDs it's not allowed access to and the new system expects it to provide a list it has access to.

I'm speculating but it's a possibility that needs looked into further.

@taylorn01 taylorn01 changed the title Fix: search engine is required in the new permission systesm Fix: search engine is required, incorrect resource ids being provided Jun 25, 2024
@taylorn01 taylorn01 marked this pull request as draft June 26, 2024 16:02
@taylorn01 taylorn01 closed this Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant