Skip to content

Commit d08d9ea

Browse files
authored
Add support for wildcard roles (#9)
* chore: make ServiceAuthenticator properties optional * feat: add middleware * feat: use middleware * chore: higher es version * test: add suite for middleware * chore: version bump * chore: remove unused debugger instance * chore: audit fix * chore: exclude one more vuln * refactor: simplfy routeRequiresRoles for only one possible role * chore: add jsdoc * refactor: better dx, better naming * chore: remove typecheck * chore: wording * fix: require role for security decorator * fix: allow no empty array * fix: throw early if empty * chore: better error * test: more negative test cases * chore: pr comments * test: update more tests
1 parent 19457ab commit d08d9ea

File tree

12 files changed

+269
-387
lines changed

12 files changed

+269
-387
lines changed

.ci/runChecks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ npm ci
44
npm run build
55
npm run lint
66
npx license-check
7-
npx better-npm-audit audit --exclude=1096727,1097682
7+
npx better-npm-audit audit --exclude=1106509,1096727,1097682

0 commit comments

Comments
 (0)