add mocked auth

This commit is contained in:
Dzmitry_Tamashevich@epam.com
2020-10-15 01:24:12 +03:00
committed by Daniel Hutzel
parent 937d9caf2b
commit 49f6b8c060
30 changed files with 151 additions and 271 deletions

View File

@@ -1,10 +1,17 @@
using {sap.capire.media.store as my} from '../db/schema';
@(requires : ['identified-user'])
service BrowseTracks {
@readonly
entity Tracks as projection on my.Tracks;
entity Tracks as projection on my.Tracks excluding {
alreadyOrdered
};
@(requires : 'authenticated-user')
@readonly
entity MarkedTracks as projection on my.Tracks;
@readonly
entity Genres as projection on my.Genres;
entity Genres as projection on my.Genres {
* , tracks : redirected to Tracks
};
}