include authorization

This commit is contained in:
D065023
2019-12-06 11:32:50 +01:00
parent 68ee29598a
commit 140db39cd4
4 changed files with 33 additions and 2 deletions

View File

@@ -7,6 +7,7 @@
"@sap/cds": "latest",
"@sap/xb-msg-amqp-v100": "^0.9.31-SNAPSHOT",
"express": "*",
"passport": "^0.4.0",
"sqlite3": "^4.1.0"
},
"scripts": {
@@ -21,6 +22,12 @@
"messaging": {
"kind": "enterprise-messaging"
}
},
"auth": {
"passport": {
"strategy": "mock",
"users": { "alice": { "roles": [ "admin" ], "password": "secret", "ID": "ALICE" } }
}
}
}
}
}