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

@@ -11,10 +11,9 @@ service MediaService {
entity MediaTypes as projection on my.MediaTypes;
entity PlaylistTrack as projection on my.PlaylistTrack;
entity Playlists as projection on my.Playlists;
@(restrict : [{
grant : '*',
where : '$user.level > 1'
}])
// @(restrict : [{
// grant : '*',
// where : '$user.level > 1'
// }])
entity Tracks as projection on my.Tracks;
}