rest: implement policy checks for post measures

Change-Id: Ic52868608f3d8235f8b3ec93cf047595acaf3be3
Merge "rest: implement policy checks for post measures"