Some fixes for permissioning