Skip to content

Commit 5ab571f

Browse files
taymoor89andypf
andauthored
feat(core): add policyDir option to createServer for consumer policy overrides (#899)
* feat(core): add policyDir option to createServer for consumer policy overrides * feat(core): move policy files to dashboard app, remove built-ins from aurora package * chore(version): downgrade policy changeset from major to minor * refactor(core): remove module-level permissionRouter export to avoid eager policy loading * fix(core): validate policyDir is an absolute path in loadPolicyEngine * fix(core): downgrade vite-plugin-static-copy to 4.1.0 to satisfy minimumReleaseAge policy * feat(core): make policyDir required in createServer and throughout the policy loading chain --------- Co-authored-by: Andreas Pfau <andreas.pfau@sap.com>
1 parent fc1bc08 commit 5ab571f

17 files changed

Lines changed: 822 additions & 281 deletions
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cobaltcore-dev/aurora": minor
3+
---
4+
5+
Remove bundled OpenStack policy files from the aurora package. Consumers must now supply their own policy files via the `policyDir` option in `createServer`. The built-in `permission_policies/` directory is no longer shipped with the package.

apps/dashboard/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"tailwindcss": "^4.2.2",
3838
"typescript": "^6.0.2",
3939
"vite": "^8.0.0",
40+
"vite-plugin-static-copy": "4.1.0",
4041
"vite-plugin-svgr": "^5.2.0"
4142
}
4243
}

0 commit comments

Comments
 (0)