Added permissions and the ability to view them

@jdan @ehayon