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:
{code:xml}
<target-component>org.exoplatform.services.cms.folksonomy.NewFolksonomyService</target-component>
{code}

The configuration is applied mainly in _packaging/wcm/webapp/src/main/webapp/WEB-INF/conf/dms-extension/dms/dms-folksonomy-configuration.xml_.

*Sample configuration*:

{code:xml}
<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>
{code}

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}} | {noformat}{java.util.ArrayList}{noformat} | The users/groups that have the permission. |
