Files
cloud-cap-samples/gdpr/srv/log-service.cds
2023-04-20 14:38:19 +02:00

14 lines
486 B
Plaintext

using {sap.capire.bookshop as db} from '../db/data-privacy';
using {sap.capire.auditLog as log} from '../db/AuditLogStore.cds';
//@requires: 'PersonalDataManagerUser' // security check
service LogService {
entity Customers as projection on db.Customers;
entity CustomerPostalAddress as projection on db.CustomerPostalAddress;
entity Orders as projection on db.Orders;
entity AuditLogStore as projection on log.AuditLogStore;
};