Skip to content

Instantly share code, notes, and snippets.

@eduardolundgren
Created May 16, 2012 17:28
Show Gist options
  • Save eduardolundgren/2712418 to your computer and use it in GitHub Desktop.
Save eduardolundgren/2712418 to your computer and use it in GitHub Desktop.
<model-resource>
<model-name>com.liferay.calendar.model.Calendar</model-name>
<portlet-ref>
<portlet-name>1</portlet-name>
</portlet-ref>
<permissions>
<supports>
<action-key>DELETE</action-key>
<action-key>MANAGE_BOOKINGS</action-key>
<action-key>PERMISSIONS</action-key>
<action-key>UPDATE</action-key>
<action-key>VIEW</action-key>
<action-key>VIEW_BOOKING_DETAILS</action-key>
</supports>
<site-member-defaults>
<action-key>VIEW</action-key>
</site-member-defaults>
<guest-defaults>
<action-key>VIEW</action-key>
</guest-defaults>
<guest-unsupported>
<action-key>DELETE</action-key>
<action-key>MANAGE_BOOKINGS</action-key>
<action-key>PERMISSIONS</action-key>
<action-key>UPDATE</action-key>
</guest-unsupported>
</permissions>
</model-resource>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment