Files
marqdo/tests/engineering/f-019-auth-cache.md
cflmyandCursor 56ab52356f feat(knowledge): land Engineering Knowledge Compiler (EKC) from 008
Give agents Engineering First Information before codegen: L0–L4 catalog,
reuse/preflight (REUSE→ADAPT→CREATE), graph, and CLI surfaces so large
repos stop reinventing existing capabilities.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-28 16:44:39 +08:00

24 lines
377 B
Markdown

---
type: Failure
id: F-019
title: Do not cache authorization by user only
task: add_cache_layer
status: resolved
applies_to:
- config.resolve
---
# Do not cache authorization result
## Failed approach
Caching permission checks by user only.
## Failure
Permissions changed during role update.
## Correct approach
Cache by user_id, resource_id, and permission_version.