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

perf: delay getting (sub)admin status for user in the security middleware untill we need it #46021

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

icewind1991
Copy link
Member

@icewind1991 icewind1991 commented Jun 20, 2024

No need to check if we're admin for non-admin routes.

Should save 1 or 2 queries for most routes

…ware untill we need it

Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 added this to the Nextcloud 30 milestone Jun 20, 2024
@icewind1991 icewind1991 requested review from nickvergessen, a team, ArtificialOwl, yemkareems and sorbaugh and removed request for a team June 20, 2024 16:46
@susnux
Copy link
Contributor

susnux commented Jul 9, 2024

Conflicting files
tests/lib/AppFramework/Middleware/Security/SecurityMiddlewareTest.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants