ACTIV-57 - Activ permission checking

Add in code to bypass checks in certain situations