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:
@@ -5,6 +5,6 @@ service CatalogService @(path:'/browse') {
|
||||
author.name as author
|
||||
} excluding { createdBy, modifiedBy };
|
||||
|
||||
@requires_: 'authenticated-user'
|
||||
@requires: 'authenticated-user'
|
||||
action submitOrder (book : Books:ID, amount: Integer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user