common: build PermissionsManager

Change-Id: I460fa889082f908197f8f5fa9ba09d84c51ca34a