feat: #6567 restaura permisos

This commit is contained in:
Javi Gallego 2024-01-30 11:04:51 +01:00
parent 4eb5efa2c9
commit 582359f058
1 changed files with 10 additions and 1 deletions

View File

@ -1,5 +1,14 @@
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`sale_replaceItem`() BEGIN END;
GRANT EXECUTE ON PROCEDURE `vn`.`sale_replaceItem` TO `employee`; GRANT EXECUTE ON PROCEDURE `vn`.`sale_replaceItem` TO `employee`;
DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` FUNCTION `vn`.`worker_isInDepartment`()
RETURNS int(11)
DETERMINISTIC
BEGIN
RETURN 1;
END$$
DELIMITER ;
GRANT EXECUTE ON FUNCTION `vn`.`worker_isInDepartment` TO `employee`; GRANT EXECUTE ON FUNCTION `vn`.`worker_isInDepartment` TO `employee`;
FLUSH PRIVILEGES; FLUSH PRIVILEGES;