Add missing thing

Running the tests was giving me warnings about this not being
available.
Initial draft of write authorization

Needs more tests and work around deployment / revocation,  but
contains the general idea.