* commit '96e44a2c2ce0579177c50a4fb710adc83530e968': Reenable optional permissions parsing and expose APIs