JBoss.orgCommunity Documentation
This plugin is used to configure the predefined permission for tag to inject in JCR.
To use the plugin in the component configuration, you must use the following target-component:
<target-component>org.exoplatform.services.cms.folksonomy.NewFolksonomyService</target-component>
The configuration is applied mainly in packaging/wcm/webapp/src/main/webapp/WEB-INF/conf/dms-extension/dms/dms-folksonomy-configuration.xml.
Sample configuration:
<external-component-plugins>
<target-component>org.exoplatform.services.cms.folksonomy.NewFolksonomyService</target-component>
<component-plugin>
<name>predefinedTagPermissionPlugin</name>
<set-method>addTagPermissionPlugin</set-method>
<type>org.exoplatform.services.cms.folksonomy.impl.TagPermissionPlugin</type>
<init-params>
<object-param>
<name>TagPermission.configuration</name>
<description>configuration predefined permission for tag to inject in jcr</description>
<object type="org.exoplatform.services.cms.folksonomy.impl.TagPermissionConfig">
<field name="tagPermissionList">
<collection type="java.util.ArrayList">
<value>
<string>*:/platform/administrators</string>
</value>
</collection>
</field>
</object>
</object-param>
</init-params>
</component-plugin>
</external-component-plugins>
In which:
Name: predefinedTagPermissionPlugin
Set-method: addTagPermissionPlugin
Type: org.exoplatform.services.cms.folksonomy.impl.TagPermissionPlugin
Object type: org.exoplatform.services.cms.folksonomy.impl.TagPermissionConfig
Name | Type | Value | Description |
---|---|---|---|
tagPermissionList | ArrayList | {java.util.ArrayList} | The users/groups that have the permission. |