mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-24 19:08:53 +03:00
[PR #2029] [MERGED] Per request cache for permission checks #1713
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pelican-dev/panel/pull/2029
Author: @xDev789
Created: 12/21/2025
Status: ✅ Merged
Merged: 12/28/2025
Merged by: @rmartinoscar
Base:
main← Head:main📝 Commits (8)
54959bePer request cache for permission checksa6fd2a5Fix caseb338c67Flush context in UpdateSubuserTestc225215Fix formatting39544a9Refactor Context mutation logic3d62368Add missing parenthesisb0e408cMake Pint happy2e0baecUpdate context key by @lancepioch📊 Changes
2 files changed (+17 additions, -5 deletions)
View changed files
📝
app/Models/User.php(+13 -5)📝
tests/Integration/Api/Client/Server/Subuser/UpdateSubuserTest.php(+4 -0)📄 Description
Cache permission checks for each request to reduce load on the database and improve speed in distributed environments.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.