Skip to content

Instantly share code, notes, and snippets.

@topolik
Created September 3, 2012 07:41
Show Gist options
  • Save topolik/3607673 to your computer and use it in GitHub Desktop.
Save topolik/3607673 to your computer and use it in GitHub Desktop.
Tag portlet in control panel for Liferay 6.0.5
<?xml version="1.0"?>
<resource-action-mapping>
<!-- put this file into ROOT/WEB-INF/resource-actions/asset-ext.xml -->
<portlet-resource>
<portlet-name>99</portlet-name>
<permissions>
<supports>
<action-key>ACCESS_IN_CONTROL_PANEL</action-key>
<action-key>CONFIGURATION</action-key>
<action-key>VIEW</action-key>
</supports>
<community-defaults>
<action-key>VIEW</action-key>
</community-defaults>
<guest-defaults>
<action-key>VIEW</action-key>
</guest-defaults>
<guest-unsupported>
<action-key>ACCESS_IN_CONTROL_PANEL</action-key>
<action-key>CONFIGURATION</action-key>
</guest-unsupported>
</permissions>
</portlet-resource>
</resource-action-mapping>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment