Wire data_source into Document render, register Endpoint handlers via run_artifact, restore marqdo-blog as an Artifact site, and replace old compose_* web golds with ADR 0007 fixtures and docs. Co-authored-by: Cursor <cursoragent@cursor.com>
19 lines
342 B
Markdown
19 lines
342 B
Markdown
---
|
|
title: ext/security rbac smoke
|
|
import rbac:ext/security/rbac.mq.md
|
|
---
|
|
|
|
# main
|
|
|
|
**gate = > rbac.rbac**
|
|
**r = > `gate`.can permissions="desk:access,posts:read" needed="desk:access"**
|
|
**ok = [ok](r)**
|
|
**allowed = [allowed](r)**
|
|
1. `ok`
|
|
1. `allowed`
|
|
> print text=rbac-ok
|
|
2. *
|
|
> print text=rbac-fail
|
|
2. *
|
|
> print text=rbac-fail
|