CF enablement

This commit is contained in:
pianocktail
2020-02-06 08:27:57 +00:00
parent 6d0194acc0
commit 9932d02d57
16 changed files with 3238 additions and 20 deletions

View File

@@ -14,3 +14,8 @@ annotate AdminService.Orders with @odata.draft.enabled;
extend service AdminService with {
entity OrderItems as select from my.OrderItems;
}
// Restrict access to orders to users with role "admin"
annotate AdminService.Orders with @(restrict: [
{ grant: 'READ', to: 'admin' }
]);