Platform Explorer / Nuxeo Platform LTS 2015 7.10

Component org.nuxeo.ecm.platform.comment.defaultPermissions

Services

Extension points

Contributions

XML source

<?xml version="1.0" encoding="UTF-8"?>
<component name="org.nuxeo.ecm.platform.comment.defaultPermissions">

  <require>org.nuxeo.ecm.core.security.defaultPermissions</require>
  <require>org.nuxeo.ecm.platform.content.template.service.ContentTemplateService.defaultContrib</require>

  <extension target="org.nuxeo.ecm.core.security.SecurityService"
    point="permissions">

    <permission name="Comment">
      <include>WriteLifeCycle</include>
    </permission>

    <permission name="Moderate" />

  </extension>

  <extension
      target="org.nuxeo.ecm.platform.content.template.service.ContentTemplateService"
      point="factoryBinding">
    <factoryBinding name="CommentRootFactory" factoryName="SimpleTemplateFactory"
                     targetType="CommentRoot">
      <acl>
        <ace granted="true" permission="AddChildren" principal="members"/>
        <ace granted="true" permission="RemoveChildren" principal="members"/>
      </acl>
     </factoryBinding>
  </extension>

</component>

Documentation