fix(test): align P3 gold with quiet-admin gate semantics
b752cd4 stopped auto-gating admin_prefix when admin=false but did not
update the P3 gold, which still expected the removed /admin auto gate
(ng >= 2). Assert the new intent instead: exactly one explicit gate
registered with the declared path.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
86b183e2d7
commit
f3051fb536
1 file changed
+2
-1
@@ -90,7 +90,8 @@ import json:lib/json.mq.md
|
||||
**app = > `app`.gate path="/write*" roles="admin,author"**
|
||||
**gates = [gates](app)**
|
||||
**ng = > len value=`gates`**
|
||||
1. `ng` >= 2
|
||||
**gpath = [path]([1](gates))**
|
||||
1. `ng` == 1 and `gpath` == "/write*"
|
||||
> print text=rbac-gate-ok
|
||||
2. *
|
||||
> print text=rbac-gate-fail
|
||||
|
||||
Reference in new issue
Block a user