add mocked auth
This commit is contained in:
committed by
Daniel Hutzel
parent
937d9caf2b
commit
49f6b8c060
@@ -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
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user