<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
	<policy user="root">
		<allow own="org.tizen.alarm.manager"/>
		<allow send_destination="org.tizen.alarm.manager"/>
	</policy>
	<policy user="app_fw">
		<allow own="org.tizen.alarm.manager"/>
		<allow send_destination="org.tizen.alarm.manager"/>
		<allow send_destination_prefix="ALARM" send_path="/org/tizen/alarm/client" send_interface="org.tizen.alarm.client" send_member="alarm_expired"/>
		<allow send_destination_prefix="ALARM" send_path="/org/tizen/alarm/manager" send_interface="org.tizen.alarm.manager" send_member="alarm_expired" send_type="signal"/>
	</policy>
	<policy context="default">
		<deny own="org.tizen.alarm.manager"/>
		<deny send_destination="org.tizen.alarm.manager"/>
		<deny own_prefix="ALARM"/>
		<check own_prefix="ALARM" privilege="http://tizen.org/privilege/alarm.set"/>
		<deny send_destination_prefix="ALARM" send_path="/org/tizen/alarm/client" send_type="method_call"/>
		<deny send_destination_prefix="ALARM" send_path="/org/tizen/alarm/manager" send_interface="org.tizen.alarm.manager" send_member="alarm_expired" send_type="signal"/>
		<allow send_destination="org.tizen.alarm.manager" send_interface="org.freedesktop.DBus.Properties" send_member="GetAll"/>
		<allow send_destination="org.tizen.alarm.manager" send_interface="org.freedesktop.DBus.Properties" send_member="Get"/>
		<check send_destination="org.tizen.alarm.manager" send_interface="org.tizen.alarm.manager" send_member="alarm_set_rtc_time" privilege="http://tizen.org/privilege/alarm.set"/>
		<check send_destination="org.tizen.alarm.manager" send_interface="org.tizen.alarm.manager" send_member="alarm_create" privilege="http://tizen.org/privilege/alarm.set"/>
		<check send_destination="org.tizen.alarm.manager" send_interface="org.tizen.alarm.manager" send_member="alarm_create_noti" privilege="http://tizen.org/privilege/alarm.set"/>
		<check send_destination="org.tizen.alarm.manager" send_interface="org.tizen.alarm.manager" send_member="alarm_create_appsvc" privilege="http://tizen.org/privilege/alarm.set"/>
		<check send_destination="org.tizen.alarm.manager" send_interface="org.tizen.alarm.manager" send_member="alarm_create_periodic" privilege="http://tizen.org/privilege/alarm.set"/>
		<check send_destination="org.tizen.alarm.manager" send_interface="org.tizen.alarm.manager" send_member="alarm_delete" privilege="http://tizen.org/privilege/alarm.set"/>
		<check send_destination="org.tizen.alarm.manager" send_interface="org.tizen.alarm.manager" send_member="alarm_delete_all" privilege="http://tizen.org/privilege/alarm.set"/>
		<check send_destination="org.tizen.alarm.manager" send_interface="org.tizen.alarm.manager" send_member="alarm_power_on" privilege="http://tizen.org/privilege/alarm.set"/>
		<check send_destination="org.tizen.alarm.manager" send_interface="org.tizen.alarm.manager" send_member="alarm_power_off" privilege="http://tizen.org/privilege/alarm.set"/>
		<check send_destination="org.tizen.alarm.manager" send_interface="org.tizen.alarm.manager" send_member="alarm_update" privilege="http://tizen.org/privilege/alarm.set"/>
		<check send_destination="org.tizen.alarm.manager" send_interface="org.tizen.alarm.manager" send_member="alarm_get_number_of_ids" privilege="http://tizen.org/privilege/alarm.get"/>
		<check send_destination="org.tizen.alarm.manager" send_interface="org.tizen.alarm.manager" send_member="alarm_get_list_of_ids" privilege="http://tizen.org/privilege/alarm.get"/>
		<check send_destination="org.tizen.alarm.manager" send_interface="org.tizen.alarm.manager" send_member="alarm_check_next_duetime" privilege="http://tizen.org/privilege/alarm.get"/>
		<check send_destination="org.tizen.alarm.manager" send_interface="org.tizen.alarm.manager" send_member="alarm_get_appsvc_info" privilege="http://tizen.org/privilege/alarm.get"/>
		<check send_destination="org.tizen.alarm.manager" send_interface="org.tizen.alarm.manager" send_member="alarm_get_noti_info" privilege="http://tizen.org/privilege/alarm.get"/>
		<check send_destination="org.tizen.alarm.manager" send_interface="org.tizen.alarm.manager" send_member="alarm_get_info" privilege="http://tizen.org/privilege/alarm.get"/>
		<check send_destination="org.tizen.alarm.manager" send_interface="org.tizen.alarm.manager" send_member="alarm_get_next_duetime" privilege="http://tizen.org/privilege/alarm.get"/>
		<check send_destination="org.tizen.alarm.manager" send_interface="org.tizen.alarm.manager" send_member="alarm_set_global" privilege="http://tizen.org/privilege/alarm.set"/>
		<check send_destination="org.tizen.alarm.manager" send_interface="org.tizen.alarm.manager" send_member="alarm_get_global" privilege="http://tizen.org/privilege/alarm.get"/>
		<check send_destination="org.tizen.alarm.manager" send_interface="org.tizen.alarm.manager" send_member="alarm_set_time" privilege="http://tizen.org/privilege/systemsettings.admin"/>
		<check send_destination="org.tizen.alarm.manager" send_interface="org.tizen.alarm.manager" send_member="alarm_set_time_with_propagation_delay" privilege="http://tizen.org/privilege/systemsettings.admin"/>
		<check send_destination="org.tizen.alarm.manager" send_interface="org.tizen.alarm.manager" send_member="alarm_set_timezone" privilege="http://tizen.org/privilege/systemsettings.admin"/>
	</policy>
</busconfig>
