Migrate from 2.4 code repo
[platform/core/context/context-service.git] / data / access-config.xml
1 <?xml version="1.0" encoding="utf-8"?>\r
2 \r
3 <ContextAccessConfig>\r
4 \r
5         <Privilege name="alarm.set">\r
6                 <Allow subject="timer/event/on_time"/>\r
7         </Privilege>\r
8 \r
9         <Privilege name="network.get">\r
10                 <Allow subject="system/state/wifi"/>\r
11         </Privilege>\r
12 \r
13         <Privilege name="telephony">\r
14                 <Allow subject="social/state/call"/>\r
15         </Privilege>\r
16 \r
17         <Privilege name="message.read">\r
18                 <Allow subject="social/event/message"/>\r
19         </Privilege>\r
20 \r
21         <Privilege name="location">\r
22                 <Allow subject="place/event/geofence"/>\r
23         </Privilege>\r
24 \r
25         <Privilege name="apphistory.read">\r
26                 <Allow subject="app/history/recently_used"/>\r
27                 <Allow subject="app/history/frequently_used"/>\r
28                 <Allow subject="app/history/rarely_used"/>\r
29                 <Allow subject="app/history/peak_time"/>\r
30                 <Allow subject="app/history/common_setting"/>\r
31                 <Allow subject="app/history/use_freq"/>\r
32         </Privilege>\r
33 \r
34         <Privilege name="mediahistory.read">\r
35                 <Allow subject="music/history/peak_time"/>\r
36                 <Allow subject="video/history/peak_time"/>\r
37                 <Allow subject="music/history/common_setting"/>\r
38                 <Allow subject="video/history/common_setting"/>\r
39                 <Allow subject="music/history/play_freq"/>\r
40                 <Allow subject="video/history/play_freq"/>\r
41         </Privilege>\r
42 \r
43         <Privilege name="mediahistory.admin">\r
44                 <Allow subject="music/event/start"/>\r
45                 <Allow subject="music/event/stop"/>\r
46                 <Allow subject="video/event/start"/>\r
47                 <Allow subject="video/event/stop"/>\r
48         </Privilege>\r
49 \r
50         <Privilege name="callhistory.read">\r
51                 <Allow subject="contact/history/comm_freq"/>\r
52         </Privilege>\r
53 \r
54 </ContextAccessConfig>\r