feat(auth): implement RBAC audit logging and session security
Integrate granular audit logging for admin actions, transition to role-based API access via `requireAdminApiSession`, and update session tokens to persist user roles and IDs for consistent multi-admin management.
This commit is contained in:
1 parent
2873b9904a
commit
5c977d6977
37 files changed
+5939
-349
No files matched your search
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"name": "@datastack/sdk",
|
||||
"version": "2.2.0",
|
||||
"description": "Official DataStack Node.js & TypeScript Client SDK — Real-time Socket.IO telemetry streaming with automatic HTTP fallback, deterministic file ingestion, and offline disk spooling.",
|
||||
"main": "./index.ts",
|
||||
"types": "./index.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./index.ts",
|
||||
"default": "./index.ts"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"index.ts",
|
||||
"types.ts",
|
||||
"spool.ts",
|
||||
"README.md"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=20.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"csv-parse": "^7.0.3",
|
||||
"socket.io-client": "^4.8.4"
|
||||
},
|
||||
"keywords": [
|
||||
"datastack",
|
||||
"telemetry",
|
||||
"socketio",
|
||||
"csv-partitioning",
|
||||
"nodejs-sdk",
|
||||
"typescript-sdk"
|
||||
],
|
||||
"license": "MIT"
|
||||
}
|
||||
Reference in new issue
Block a user