fix permitted to
more permissions fixes