feat: permission hooks, isAllowed and permittedOrgs

This commit is contained in:
2026-10-21 14:38:15 +02:00
parent ee15ee0adf
commit bc05d312a6
10 changed files with 259 additions and 71 deletions
+3 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@crudy/pgmorbac-fastify",
"version": "1.0.0",
"version": "1.1.0",
"type": "module",
"description": "Fastify layer over pgmorbac: permission checks, RLS session context, management routes, PostgREST data proxy, migration loader",
"keywords": [
@@ -76,7 +76,8 @@
"scripts": {
"build": "tsc",
"prepack": "npm run build",
"check": "tsc --noEmit"
"check": "tsc --noEmit",
"test": "tsc && node --test 'test/*.test.mjs'"
},
"publishConfig": {
"access": "public"