Run filtered requests on global db if we are GLOBAL_USER 58/27258/4 accepted/tizen/common/20140909.100225 accepted/tizen/ivi/20140909.153726 submit/tizen/20140909.093454
authorManuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Tue, 9 Sep 2014 08:35:04 +0000 (10:35 +0200)
committerManuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Tue, 9 Sep 2014 09:26:54 +0000 (11:26 +0200)
commit2d6337e338911b2731dbbc7bfe23b484ff9217c9
tree2a60fdc7dcc957b039b74562bbd991967b7b27d2
parentb52e4c71ffeac2b4ec84c05d990b8b2e13ac07c2
Run filtered requests on global db if we are GLOBAL_USER

We should automatically redirect calls from "ail_filter
_count_usr_appinfo()" to "ail_filter_count_appinfo()" if
the calling user is GLOBAL_USER (i.e. root). Filtered
requests will target the wrong DB, and fail otherwise.

Bug-Tizen: TC-1574

Change-Id: I774aa5f270cc6148639fcb6f449a7cb949f0fff8
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
src/ail_filter.c