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 Dominika Kurek

Saved on Apr 20, 2016

compared with

New Version Current

changes.mady.by.user Dominika Kurek

Saved on Apr 28, 2016

Key

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

Comment: layout change

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

Tip
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)

 

Comments

Add a comment

Comments are read by a moderator before they appear.