What does it do? Access rules that can be specified in curly brackets in the statement DEFINE ROLE>> to define a CDS role> in CDS DCL >. Each access rule defines access to a CDS > entity. There are the following types of access rule:
Conditional access rules conditional_rule>>, which control access using access conditions>.
Full access rules grant_rule>> that grant unrestricted access.
A projection rule projection_rule> > for transactional projection views. BEGIN_SECTION VERSION 5 OUT
Obsolete inherited access rules inherited_rule>> applied from existing CDS roles; inheritance conditions> should be used instead of inheritance rules. END_SECTION VERSION 5 OUT Multiple access rules can be combined in a single CDS role, but an inherited access rule inherited_rule>> can only occur once. The access conditions defined by the individual access rules are joined with a logical or>. In the same way, the access rules defined by different CDS roles for a CDS entity are joined by a logical or>.
Latest notes: It is advisable to use only one access rule in a CDS role. NON_V5_HINTS ABAP_HINT_END