Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not a Bug
-
None
-
None
-
Linux
Description
If you create a function or procedure, on GRANT MariaDB lower its name so the user will not have the privilege to execute ir.
DELIMITER |
DROP FUNCTION IF EXISTS FUNCTION `ERPUniversitario`.`faBecas_ResolucionesDetalleAprobar`; |
CREATE DEFINER = CURRENT_USER() FUNCTION `ERPUniversitario`.`faBecas_ResolucionesDetalleAprobar`() RETURNS TINYINT UNSIGNED
BEGIN
RETURN 1;
END; |
GRANT EXECUTE ON FUNCTION `ERPUniversitario`.`faBecas_ResolucionesDetalleAprobar` TO 'ERPUniversitario'@'10.100.20.0/255.255.255.0'; |
SHOW GRANTS FOR 'ERPUniversitario'@'10.100.20.0/255.255.255.0'; |
DELIMITER ;