Basically the same as T260633: BotPasswords doesn't validate length of resultant bp_grants JSON, but for numerous different fields
oarc_grants, oarc_oauth2_allowed_grants and oaac_grants don't validate the JSON going into them... So in a case where there's many many many grants, it's possible to end up with JSON longer than BLOB, which will be inserted and truncated
Technically blocks T108255: Enable MariaDB/MySQL's Strict Mode