No, access to data does not imply clearance. And they are forcing access to data. No it is not legal, but neither Trump nor DOGE nor Musk care about legality.
There is no "forcing access". It simply doesn't work that way.
If the President clears them, they are cleared. That's perfectly legal. The President is the federal government's OCA.