Q: 5
Which property of access control with @restrict accepts all standard CDS CRUD events, as well as
action and function names?
Options
Discussion
B . Encountered exactly similar question in my exam, 'on' is the property for specifying CDS events and custom actions.
Probably B here.
Its B here. The 'on' property is what matches CRUD plus custom actions/functions in CDS access control, seen this in similar exam questions. D is more about giving roles, not events.
Not D, go with B. The
on property handles all the standard CDS CRUD events and custom actions.Call it it's B for this one.
C/D? Not fully sure, 'where' handles conditions and 'grant' looks like permission logic. Anyone got a source?
C or D. I was thinking maybe C since 'where' can be used for conditionally restricting access, not just standard events but also custom actions if you add logic. But D 'grant' is tempting too because it sounds like permission control. Not totally confident here.
B
It flips if they're asking about defining permissions explicitly, but here since it's about events and actions, that's B.
Isn't D a bit of a trap here since it actually deals with permissions, but the question's about event types in CDS?
Be respectful. No spam.