resource-actions.default.xml Maven / Gradle / Ivy
<?xml version="1.0"?> <!DOCTYPE resource-action-mapping PUBLIC "-//Liferay//DTD Resource Action Mapping 7.4.0//EN" "http://www.liferay.com/dtd/liferay-resource-action-mapping_7_4_0.dtd"> <resource-action-mapping> <model-resource> <model-name>com.liferay.bookmarks</model-name> <portlet-ref> <portlet-name>com_liferay_bookmarks_web_portlet_BookmarksAdminPortlet</portlet-name> <portlet-name>com_liferay_bookmarks_web_portlet_BookmarksPortlet</portlet-name> </portlet-ref> <root>true</root> <weight>1</weight> <permissions> <supports> <action-key>ADD_ENTRY</action-key> <action-key>ADD_FOLDER</action-key> <action-key>PERMISSIONS</action-key> <action-key>SUBSCRIBE</action-key> <action-key>VIEW</action-key> </supports> <site-member-defaults> <action-key>ADD_ENTRY</action-key> <action-key>SUBSCRIBE</action-key> <action-key>VIEW</action-key> </site-member-defaults> <guest-defaults> <action-key>VIEW</action-key> </guest-defaults> <guest-unsupported> <action-key>ADD_ENTRY</action-key> <action-key>ADD_FOLDER</action-key> <action-key>PERMISSIONS</action-key> <action-key>SUBSCRIBE</action-key> </guest-unsupported> </permissions> </model-resource> <model-resource> <model-name>com.liferay.bookmarks.model.BookmarksEntry</model-name> <portlet-ref> <portlet-name>com_liferay_bookmarks_web_portlet_BookmarksAdminPortlet</portlet-name> <portlet-name>com_liferay_bookmarks_web_portlet_BookmarksPortlet</portlet-name> </portlet-ref> <weight>3</weight> <permissions> <supports> <action-key>DELETE</action-key> <action-key>PERMISSIONS</action-key> <action-key>SUBSCRIBE</action-key> <action-key>UPDATE</action-key> <action-key>VIEW</action-key> </supports> <site-member-defaults> <action-key>SUBSCRIBE</action-key> <action-key>VIEW</action-key> </site-member-defaults> <guest-defaults> <action-key>VIEW</action-key> </guest-defaults> <guest-unsupported> <action-key>SUBSCRIBE</action-key> <action-key>UPDATE</action-key> </guest-unsupported> </permissions> </model-resource> <model-resource> <model-name>com.liferay.bookmarks.model.BookmarksFolder</model-name> <portlet-ref> <portlet-name>com_liferay_bookmarks_web_portlet_BookmarksAdminPortlet</portlet-name> <portlet-name>com_liferay_bookmarks_web_portlet_BookmarksPortlet</portlet-name> </portlet-ref> <weight>2</weight> <permissions> <supports> <action-key>ACCESS</action-key> <action-key>ADD_ENTRY</action-key> <action-key>ADD_SUBFOLDER</action-key> <action-key>DELETE</action-key> <action-key>PERMISSIONS</action-key> <action-key>SUBSCRIBE</action-key> <action-key>UPDATE</action-key> <action-key>VIEW</action-key> </supports> <site-member-defaults> <action-key>ADD_ENTRY</action-key> <action-key>SUBSCRIBE</action-key> <action-key>VIEW</action-key> </site-member-defaults> <guest-defaults> <action-key>VIEW</action-key> </guest-defaults> <guest-unsupported> <action-key>ADD_ENTRY</action-key> <action-key>ADD_SUBFOLDER</action-key> <action-key>UPDATE</action-key> </guest-unsupported> </permissions> </model-resource> </resource-action-mapping>