META-INF.resource-actions.default.xml Maven / Gradle / Ivy
<?xml version="1.0"?> <!DOCTYPE resource-action-mapping PUBLIC "-//Liferay//DTD Resource Action Mapping 7.0.0//EN" "http://www.liferay.com/dtd/liferay-resource-action-mapping_7_0_0.dtd"> <resource-action-mapping> <model-resource> <model-name>com.liferay.wiki</model-name> <portlet-ref> <portlet-name>com_liferay_wiki_web_portlet_WikiAdminPortlet</portlet-name> <portlet-name>com_liferay_wiki_web_portlet_WikiPortlet</portlet-name> </portlet-ref> <root>true</root> <weight>1</weight> <permissions> <supports> <action-key>ADD_NODE</action-key> <action-key>PERMISSIONS</action-key> </supports> <site-member-defaults /> <guest-defaults /> <guest-unsupported> <action-key>ADD_NODE</action-key> <action-key>PERMISSIONS</action-key> </guest-unsupported> </permissions> </model-resource> <model-resource> <model-name>com.liferay.wiki.model.WikiNode</model-name> <portlet-ref> <portlet-name>com_liferay_wiki_web_portlet_WikiAdminPortlet</portlet-name> <portlet-name>com_liferay_wiki_web_portlet_WikiPortlet</portlet-name> </portlet-ref> <weight>2</weight> <permissions> <supports> <action-key>ADD_ATTACHMENT</action-key> <action-key>ADD_PAGE</action-key> <action-key>DELETE</action-key> <action-key>IMPORT</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_ATTACHMENT</action-key> <action-key>ADD_PAGE</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_PAGE</action-key> <action-key>SUBSCRIBE</action-key> <action-key>UPDATE</action-key> </guest-unsupported> </permissions> </model-resource> <model-resource> <model-name>com.liferay.wiki.model.WikiPage</model-name> <portlet-ref> <portlet-name>com_liferay_wiki_web_portlet_WikiAdminPortlet</portlet-name> <portlet-name>com_liferay_wiki_web_portlet_WikiPortlet</portlet-name> </portlet-ref> <weight>3</weight> <permissions> <supports> <action-key>ADD_DISCUSSION</action-key> <action-key>DELETE</action-key> <action-key>DELETE_DISCUSSION</action-key> <action-key>PERMISSIONS</action-key> <action-key>SUBSCRIBE</action-key> <action-key>UPDATE</action-key> <action-key>UPDATE_DISCUSSION</action-key> <action-key>VIEW</action-key> </supports> <site-member-defaults> <action-key>ADD_DISCUSSION</action-key> <action-key>SUBSCRIBE</action-key> <action-key>UPDATE</action-key> <action-key>VIEW</action-key> </site-member-defaults> <guest-defaults> <action-key>ADD_DISCUSSION</action-key> <action-key>VIEW</action-key> </guest-defaults> <guest-unsupported> <action-key>DELETE_DISCUSSION</action-key> <action-key>SUBSCRIBE</action-key> <action-key>UPDATE</action-key> <action-key>UPDATE_DISCUSSION</action-key> </guest-unsupported> </permissions> </model-resource> </resource-action-mapping>