Implement read action

Change-Id: I13acf4acab94c550cc672a70be6a71b1ccc8fa7e
Add :update action

Change-Id: Ib571b391c42463691538fdfd51e0bab921ac7b74
Test more complex permissions

Change-Id: I094173386906e4f3e66beafd7f3581beb9f35f61
Refactor example permissions

Change-Id: I162c2ec992cd202e1f2b1eb6d726c311d70ecf37
Refactor and fix an incorrect test

Change-Id: Ibea8b10815f603ceae4404a89402a30b1500ad4c