Enable authorizations w/ dummy-auth (#158)

* Enable authorizations w/ dummy-auth

* fixed: some tests run in privileged mode

* Fixed tests to skip auth

* npm test --silent

* Added dependency to passport
This commit is contained in:
Daniel Hutzel
2020-11-12 23:56:04 +01:00
committed by GitHub
parent ffaec7aa07
commit d0d08b1ee1
12 changed files with 25 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
using { sap.capire.bookshop as my } from '../db/schema';
service AdminService @(requires_:'admin') {
service AdminService @(requires:'admin') {
entity Books as projection on my.Books;
entity Authors as projection on my.Authors;
}