# ----------------------------------------------------------------------------
#
#    Copyright (C) 2000-2015 Synology Inc. All rights reserved.
#
# ----------------------------------------------------------------------------

#include <tunables/global>

^/usr/syno/sbin/synoscgi//SYNO.TextEditor {
	#include <abstractions/base>
	#include <abstractions/base-cgi>

	/volume*/@appstore/TextEditor/lib/{,**}        mr,
	/volume*/@appstore/TextEditor/webapi/{,**}     mrwk,
	/volume*/@appstore/TextEditor/etc/opencc/**    r,
}

^/usr/syno/sbin/synoscgi//SYNO.TextEditor.Preference {
	#include <abstractions/base>
	#include <abstractions/base-cgi>
	#include <abstractions/authentication>
	#include <abstractions/nameservice>

	/volume*/@appstore/TextEditor/lib/{,**}        mr,
	/volume*/@appstore/TextEditor/webapi/{,**}     mrwk,
	/usr/syno/etc/preference/**                    rwk,
}
