Giao diện
Quick start
- Bật plugin trong app dev có role
membertrongctx.state.currentRoles. - Gọi
GET /api/testAclMiddleware:action1?token=.... - Quan sát: user có role
memberđược phép dùpolicymặc định có thể chặn.
Để thử negative case: gỡ role member hoặc đổi điều kiện trong plugin.ts.