fix: refs #4409 Grant CDC stock privileges

This commit is contained in:
Juan Ferrer 2025-03-04 08:58:05 +01:00
parent 6ff366cf02
commit 68326fedd1
1 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,8 @@
CREATE OR REPLACE DEFINER=`vn`@`localhost` PROCEDURE `stock`.`buyOut_refreshBuy`() BEGIN END;
CREATE OR REPLACE DEFINER=`vn`@`localhost` PROCEDURE `stock`.`buyOut_refreshOrder`() BEGIN END;
CREATE OR REPLACE DEFINER=`vn`@`localhost` PROCEDURE `stock`.`buyOut_refreshSale`() BEGIN END;
GRANT EXECUTE ON PROCEDURE stock.buyOut_refreshBuy TO 'mycdc-consumer'@'10.0.%.%';
GRANT EXECUTE ON PROCEDURE stock.buyOut_refreshOrder TO 'mycdc-consumer'@'10.0.%.%';
GRANT EXECUTE ON PROCEDURE stock.buyOut_refreshSale TO 'mycdc-consumer'@'10.0.%.%';