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

get_search_ui_permissions bulk method #11708

Open
whatisgalen opened this issue Jan 2, 2025 · 0 comments · May be fixed by #11709
Open

get_search_ui_permissions bulk method #11708

whatisgalen opened this issue Jan 2, 2025 · 0 comments · May be fixed by #11709
Assignees

Comments

@whatisgalen
Copy link
Member

in Arches search results component, the permission_backend.get_search_ui_permissions() is called to update the permissions of each result in a set of search results. Each time this method gets called in either Arches default allow or default deny, a new django orm query gets issued to lookup node/nodegroup permissions. It's a pretty significant performance lag on larger result sets.

@chiatt chiatt added this to pipeline Jan 2, 2025
@whatisgalen whatisgalen self-assigned this Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
1 participant