Fix permissions index file: request_uri is no longer supported by ActionDispatch::Request