Allow get/add user evenif /opt/etc/passwd does not exist. 03/247503/1 accepted/tizen_6.0_unified tizen_6.0 accepted/tizen/6.0/unified/20201113.014552 submit/tizen_6.0/20201111.083102
authorYunmi Ha <yunmi.ha@samsung.com>
Tue, 10 Nov 2020 11:23:06 +0000 (20:23 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Wed, 11 Nov 2020 08:16:59 +0000 (08:16 +0000)
commit6fd7035f6c2daad33e402c2cb0efd13c8d7772ee
treebbcbf879e6442504da2a080ac893a7259ef34a56
parent25d5eededc51c6929a049f9717856ae9ef50fcfd
Allow get/add user evenif /opt/etc/passwd does not exist.

- If /opt/etc/passwd file does not exist
    allow add_user
    allow get_user_list
    deny update_user
    deny delete_user

Change-Id: I901c47e6d73efd64133b04874c6b7727d975215b
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
(cherry picked from commit e435ddbb1338397fc1b482149beb7cb9f165ab31)
include/gum/common/gum-file.h
src/common/gum-file.c
src/daemon/core/gumd-daemon-user.c