Skip to the content
Documentation

ParentContentTypeLimitation

No ratings yet

A Limitation to specify if the User has access to Content whose parent Location contains a specific Content Type, used by content/create.

This limitation combined with ContentTypeLimitation allows you to define business rules like allowing users to create "Blog Post" within a "Blog." If you also combine it with ParentOwnerLimitation, you effectively limit access to create Blog Posts in the users' own Blogs.

Identifier ParentClass
Value Class eZ\Publish\API\Repository\Values\User\Limitation\ParentContentTypeLimitation
Type Class eZ\Publish\Core\Limitation\ParentContentTypeLimitationType
Criterion used n/a
Role Limitation no

Possible values

Value UI value Description
<ContentType_id> <ContentType_name> All valid Content Type ids can be set as value(s)

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.