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