Add privilege-group mapping for four privileges 21/49121/2
authorRadoslaw Bartosiak <r.bartosiak@samsung.com>
Tue, 6 Oct 2015 15:37:30 +0000 (17:37 +0200)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Mon, 26 Oct 2015 10:29:35 +0000 (03:29 -0700)
According to Tizen security policy, services might be allowed to check
access to resources using DAC groups corresponding to privileges
https://wiki.tizen.org/wiki/Security/User_and_group_ID_assignment_policy.

This commit introduces mapping between groups and privileges needed by
libmm-camcorder and media-content projects.

Change-Id: I8763bb83a8b294c05b4623c0a921e739d3be7bc5
Signed-off-by: Radoslaw Bartosiak <r.bartosiak@samsung.com>
policy/privilege-group.list

index d679d0c..fa85b6f 100644 (file)
@@ -4,3 +4,7 @@
 # - each line of "<PRIVILEGE> <GROUP>" describes single mapping
 # - privilege and group separated by white spaces
 # - lines starting with '#' are ignored
+http://tizen.org/privilege/camera priv_camera
+http://tizen.org/privilege/recorder priv_recorder
+http://tizen.org/privilege/mediastorage priv_mediastorage
+http://tizen.org/privilege/externalstorage priv_externalstorage