enablecreateascomposee Clause for the Add Policy Command

You can define separate user rules for a business object with the maybecomposed type created either as a standalone object or a composee under a given composer using the policy enablecreateascomposee and createascomposee access type.

See Also
Add Policy Syntax

Syntax

For add policy,

add policy NAME [ITEM {ITEM}];

  where ITEM is:

    | description VALUE                  |

     :

    | [!|not]enablecreateascomposee      |
     :

For modify policy,

modify policy NAME [MOD_ITEM {MOD_ITEM}];

  where MOD_ITEM is:

    | defaultformat FORMAT_NAME          |

     :
    | [!|not]enablecreateascomposee      |
and in access item,
where ACCESS_ITEM is:

    | all                   |

     :

    | [not]createascomposee |

If enablecreateascomposee is set on a policy, then the create access is evaluated only for standalone object creation, while the createascomposee access is evaluated for composee object creation. The enablecreateascomposee policy and createascomposee access type do not impact the security index.

For example,

Add policy p1 enablecreateascomposee state one owner none
user rol1 key “non-composee” create single organization single project
user rol2 key “composee” createascomposee,toconnect single organization single project;

If enablecreateascomposee is not set on a policy, then the create access is evaluated for both standalone and composee object creation.