<?xml version="1.0" encoding="utf-8"?>
<module>
	<grants />
	<permissions>
		<!-- member -->
		<permission action="getDocumentCategories" target="member" />
		<permission action="procDocumentTempSave" target="member" />

		<!-- manager -->
		<permission action="procDocumentGetList" target="manager" />

		<permission action="getDocumentCategoryTplInfo" target="manager" />
		<permission action="procDocumentInsertCategory" target="manager" />
		<permission action="procDocumentDeleteCategory" target="manager" />
		<permission action="procDocumentMoveCategory" target="manager" />
		<permission action="procDocumentMakeXmlFile" target="manager" />

		<permission action="procDocumentAdminMoveToTrash" target="manager" />

		<permission action="dispDocumentAdminList" target="manager" />
		<permission action="procDocumentInsertModuleConfig" target="manager" />
		<permission action="procDocumentAdminInsertExtraVar" target="manager" />
		<permission action="procDocumentAdminDeleteExtraVar" target="manager" />
	</permissions>
	<actions>
		<action name="dispDocumentPrint" type="view" meta-noindex="true" />
		<action name="dispDocumentPreview" type="view" meta-noindex="true" />
		<action name="dispTempSavedList" type="view" meta-noindex="true" />

		<action name="procDocumentVoteUp" type="controller" />
		<action name="procDocumentVoteDown" type="controller" />
		<action name="procDocumentDeclare" type="controller" />

		<action name="procDocumentAddCart" type="controller" />
		<action name="dispDocumentManageDocument" type="view" meta-noindex="true" />
		<action name="procDocumentManageCheckedDocument" type="controller" />

		<action name="getDocumentMenu" type="model" />
		<action name="getDocumentVotedMemberList" type="model" />

		<action name="procDocumentInsertModuleConfig" type="controller" />

		<action name="getDocumentCategories" type="model" />
		<action name="getDocumentCategoryTplInfo" type="model" />
		<action name="procDocumentInsertCategory" type="controller" ruleset="insertCategory" />
		<action name="procDocumentDeleteCategory" type="controller" />
		<action name="procDocumentMoveCategory" type="controller" />
		<action name="procDocumentMakeXmlFile" type="controller" />

		<action name="procDocumentTempSave" type="controller" />
		<action name="procDocumentGetList" type="controller" />

		<!-- admin -->
		<action name="dispDocumentAdminList" type="view" admin_index="true" menu_name="document" menu_index="true" />
		<action name="dispDocumentAdminConfig" type="view" />
		<action name="procDocumentAdminInsertConfig" type="controller" />

		<action name="dispDocumentAdminDeclared" type="view" menu_name="document" />
		<action name="procDocumentAdminCancelDeclare" type="controller" />

		<action name="dispDocumentAdminAlias" type="view" menu_name="document" />
		<action name="procDocumentAdminInsertAlias" type="controller" ruleset="insertAlias" />
		<action name="procDocumentAdminDeleteAlias" type="controller" ruleset="deleteAlias" />

		<action name="procDocumentAdminInsertExtraVar" type="controller" ruleset="insertExtraVar" />
		<action name="procDocumentAdminDeleteExtraVar" type="controller" />
		<action name="procDocumentAdminMoveExtraVar" type="controller" />

		<action name="procDocumentAdminDeleteChecked" type="controller" />
		<action name="procDocumentAdminMoveToTrash" type="controller" />

		<action name="procDocumentAdminDeleteAllThumbnail" type="controller" />

		<action name="dispDocumentAdminTrashList" type="view" menu_name="document" />
		<action name="procDocumentAdminRestoreTrash" type="controller" />
	</actions>
	<menus>
		<menu name="document">
			<title xml:lang="en">Document</title>
			<title xml:lang="ko">문서</title>
			<title xml:lang="zh-CN">Document</title>
			<title xml:lang="jp">ドキュメント</title>
			<title xml:lang="es">Document</title>
			<title xml:lang="ru">Document</title>
			<title xml:lang="fr">Document</title>
			<title xml:lang="zh-TW">文章</title>
			<title xml:lang="vi">Document</title>
			<title xml:lang="mn">Document</title>
			<title xml:lang="tr">Document</title>
		</menu>
	</menus>
</module>
