Skip to the content
Documentation

ParentContentTypeLimitation: comparison of v.1 vs v.2

No ratings yet

Versions Compared

Old Version 1

changes.mady.by.user Ricardo Correia

Saved on Jul 25, 2013

compared with

New Version Current

changes.mady.by.user Dominika Kurek

Saved on Jan 29, 2016

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A limitation Limitation to specify if user the User has access to Content where parent locations is of specific ContentTypewhose parent Location contains a specific Content Type, used by content/create.

Infotip
Tip: This This limitation combined with ContentTypeLimitation allows you to define business rules like allowing user users to create "Blog Post" within a "Blog." , if If you also combine it with ParentOwnerLimitation, you effectually effectively limit access to create Blog Posts in the users' own BlogBlogs.
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)

Comments

Add a comment

Comments are read by a moderator before they appear.