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

[server] Fix sub-optimal checks in wms access control #58937

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

dmarteau
Copy link
Contributor

@dmarteau dmarteau commented Oct 1, 2024

Description

Fix suboptimal check in wms access control.

This PR introduced changes in WMS access control management by checking availability of layer groups and this was done by prior checking all layers from all groups.

This is sub-optimal as every layers or groups need to be checked even if not requested and may lead to performance penalty with project with many layers.

This PR fixe the issue by checking only requested groups and layers and preserving behavior of the original PR.

@github-actions github-actions bot added this to the 3.40.0 milestone Oct 1, 2024
Copy link

github-actions bot commented Oct 1, 2024

🪟 Windows builds ready!

Windows builds of this PR are available for testing here. Debug symbols for this build are available here.

(Built from commit 263d5bb)

@rldhont rldhont merged commit 464f7e7 into qgis:master Oct 8, 2024
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Server Related to QGIS server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants