Merge "Add DPM API to explicitly set/get global restrictions"