summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyotaek Shim <hyotaek.shim@samsung.com>2022-08-12 02:36:20 +0000
committerHyotaek Shim <hyotaek.shim@samsung.com>2022-08-12 04:01:40 +0000
commitbdc6cdc6af31793f30b5586a9b06607d93c588df (patch)
treea01ee9f5b7c553666fd05c339749f1266c759624
parent336405c9f90ba1f919410ab6819a09efdad31e83 (diff)
downloadsessiond-bdc6cdc6af31793f30b5586a9b06607d93c588df.tar.gz
sessiond-bdc6cdc6af31793f30b5586a9b06607d93c588df.tar.bz2
sessiond-bdc6cdc6af31793f30b5586a9b06607d93c588df.zip
Revert "Temporarily allow all dbus policy by default"
This reverts commit 82d39e1f34062fa443103bc1f2980bd54e295cf2. Change-Id: I85c6780dcbe1ec4a4fd3a49e48f4d69870bb7ddd
-rw-r--r--sessiond/org.tizen.sessiond.conf16
1 files changed, 14 insertions, 2 deletions
diff --git a/sessiond/org.tizen.sessiond.conf b/sessiond/org.tizen.sessiond.conf
index ab8a772..35dce3d 100644
--- a/sessiond/org.tizen.sessiond.conf
+++ b/sessiond/org.tizen.sessiond.conf
@@ -1,10 +1,22 @@
<!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.sessiond"/>
+ <allow send_destination="org.tizen.sessiond"/>
+ </policy>
+ <policy user="system_fw">
+ <allow send_destination="org.tizen.sessiond"/>
+ </policy>
+ <policy user="app_fw">
+ <allow send_destination="org.tizen.sessiond"/>
+ </policy>
+ <policy group="users">
+ <check send_destination="org.tizen.sessiond"
+ privilege="http://tizen.org/privilege/internal/usermanagement"/>
+ </policy>
<policy context="default">
<deny own="org.tizen.sessiond"/>
<deny send_destination="org.tizen.sessiond"/>
- <allow own="org.tizen.sessiond"/>
- <allow send_destination="org.tizen.sessiond"/>
</policy>
</busconfig>