rest-api: add role checking to RpcView

Signed-off-by: Gregory Meno <gmeno@redhat.com>

@dmick @jcsp @kmkanagaraj