15 lines
440 B
MySQL
15 lines
440 B
MySQL
|
CREATE OR REPLACE DEFINER=`root`@`localhost`
|
||
|
SQL SECURITY DEFINER
|
||
|
VIEW `vn2008`.`Tramos` AS
|
||
|
SELECT 1;
|
||
|
|
||
|
GRANT SELECT ON TABLE vn2008.Tramos TO `employee`;
|
||
|
GRANT SELECT ON TABLE vn.section TO `employee`;
|
||
|
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost`
|
||
|
SQL SECURITY DEFINER
|
||
|
VIEW `vn2008`.`Proveedores_cargueras` AS
|
||
|
SELECT 1;
|
||
|
|
||
|
GRANT SELECT ON TABLE vn2008.Proveedores_cargueras TO `buyer`;
|
||
|
GRANT SELECT ON TABLE vn.freightSupplier TO `buyer`;
|