feat: #6567 restaura permisos
This commit is contained in:
parent
4eb5efa2c9
commit
582359f058
|
@ -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`;
|
||||
|
||||
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`;
|
||||
FLUSH PRIVILEGES;
|
||||
|
|
Loading…
Reference in New Issue