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

Revised unadvertised resources filtering. #405

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

axl8713
Copy link
Collaborator

@axl8713 axl8713 commented Feb 3, 2025

Fix geosolutions-it/MapStore2#10794
The refactoring operated on the user permissions verification has introduced redundant checks to discard unadvertised resources, that slowed the response time for extjs/search/list endpoint as reported in geosolutions-it/MapStore2#10794.

These changes remove those redundant checks, leaving the filtering only on the DB query execution.

@axl8713 axl8713 requested a review from afabiani February 3, 2025 14:59
@axl8713 axl8713 self-assigned this Feb 3, 2025
@afabiani afabiani merged commit 87ac2a9 into geosolutions-it:master Feb 3, 2025
2 checks passed
@tdipisa tdipisa added this to the 2025.01.00 milestone Feb 3, 2025
@axl8713 axl8713 deleted the fix-slow-requests branch February 4, 2025 08:51
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.

New resource list endpoint has some defects
3 participants