v.25.7Bug Fix (user-visible misbehavior in an official stable release)

Fix incorrect behavior

Fix incorrect behavior when executing REVOKE S3 ON system.* revokes S3 permissions for *.*. This fixes #83417. #83420 (pufit).