Fix permissions key (URIs were invalid)