[preferences] Bug 441772: Support a Whitelist mechanism for permissions

Change-Id: Id4e1f3d53755dd9f2bbc17e40876db5d83c60b25
Signed-off-by: Yasser Aziza <yasser.aziza@gmail.com>