Change verification of privileges 63/255963/9
authorTomasz Swierczek <t.swierczek@samsung.com>
Thu, 25 Mar 2021 13:18:55 +0000 (14:18 +0100)
committerTomasz Swierczek <t.swierczek@samsung.com>
Thu, 1 Apr 2021 11:55:02 +0000 (13:55 +0200)
commitb7b3139025c84831f514546bf98d63cb9dd41dbe
tree3eba3987063b0ba399e466e446e8a13aac007c4e
parente5e5e7a3465b4604d60eef792c7d5e12ad0443f7
Change verification of privileges

Now, the privileges are checked depending on the message
type received.

This implementation requires DCM daemon to receive
& deserialize the message 1st before checking client privileges.

This is required by the introduction of DCM EXT API which can be guarded
by specific privilege (or none) for each backend method.

Change-Id: Iaaae1bc220e497f2488d8d2700a5334fa14b61b6
src/dcm-daemon/dcm_session.cpp
src/dcm-daemon/dcm_session.h