Merge "Add pm operation to set user restrictions." into nyc-dev