File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed
javascript/frameworks/cap/test/queries/bad-authn-authz/entities-with-no-authz/entities-exposed-with-no-authz/srv Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 1- using { advanced_security .entities_exposed_with_no_authz .sample_entities as db_schema } from ' ../db/schema' ;
1+ using {advanced_security .entities_exposed_with_no_authz .sample_entities as db_schema } from ' ../db/schema' ;
22
33service Service1 @ (path : ' /service-1 ' ) {
44 /* Entity to send READ/GET about. */
5- entity Service1Entity as projection on db_schema .Entity1 excluding { Attribute2 }
5+ entity Service1Entity as
6+ projection on db_schema .Entity1
7+ excluding {
8+ Attribute2
9+ }
610
711 /* API to talk to Service1. */
8- action send1 (
9- messageToPass : String
10- ) returns String ;
12+ action send1 (messageToPass : String ) returns String ;
1113}
Original file line number Diff line number Diff line change 1- using { advanced_security .entities_exposed_with_no_authz .sample_entities as db_schema } from ' ../db/schema' ;
1+ using {advanced_security .entities_exposed_with_no_authz .sample_entities as db_schema } from ' ../db/schema' ;
22
33service Service2 @ (path : ' /service-2 ' ) {
44 /* Entity to send READ/GET about. */
5- entity Service2Entity as projection on db_schema .Entity2 excluding { Attribute4 }
5+ entity Service2Entity as
6+ projection on db_schema .Entity2
7+ excluding {
8+ Attribute4
9+ }
610
711 /* API to talk to Service2. */
8- action send2 (
9- messageToPass : String
10- ) returns String ;
12+ action send2 (messageToPass : String ) returns String ;
1113}
You can’t perform that action at this time.
0 commit comments