fix: avoid auth plugin ordering cycles
This commit is contained in:
@@ -257,7 +257,7 @@
|
||||
},
|
||||
"packages/authz": {
|
||||
"name": "@wrnexus/authz",
|
||||
"version": "0.8.11",
|
||||
"version": "0.8.12",
|
||||
"dependencies": {
|
||||
"@wrnexus/core": "workspace:*",
|
||||
"@wrnexus/db": "workspace:*",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@wrnexus/authz",
|
||||
"version": "0.8.11",
|
||||
"version": "0.8.12",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "src/index.ts",
|
||||
|
||||
@@ -51,7 +51,6 @@ export function authzPlugin() {
|
||||
return definePlugin({
|
||||
name: "@wrnexus/authz",
|
||||
version: "0.8.0",
|
||||
after: ["@wrnexus/auth"],
|
||||
configure(config, context) {
|
||||
const raw = (config.authz ?? {}) as AuthzConfig;
|
||||
const enabled = raw.enabled !== false && Boolean(config.authz);
|
||||
|
||||
Reference in New Issue
Block a user