[Spanish] Triggers en Postgresql

Javier Diaz javidiaz1977 at gmail.com
Tue Dec 9 10:19:37 PST 2014


Gracias por el aporte Martin.

Ahora bien, si el historial es sobre  INSERT, DELETE y UPDATE. y le
asigno permisos asi:

GRANT USAGE ON SCHEMA geosiuc TO usuarioxxx;
GRANT SELECT,INSERT,DELETE,UPDATE ON geosiuc.parcelas_history TO usuarioxxxx;

No le estaria dando permiso para hacer cambios, donde en realidad no
quiero que pueda acceder??

Saludos, y gracias nuevamente


2014-12-09 15:07 GMT-03:00 martinmaximilianoflores
<martinmaximilianoflores en yahoo.com.ar>:
> Tendrias que darle permisos de solo inserción a ese usuario sobre la tabla
> donde estas haciendo el log de historial.
>
> Proba:
>
> GRANT USAGE ON SCHEMA geosiuc TO usuarioxxx;
> GRANT INSERT ON TABLE geosiuc.parcela_history TO usuarioxxx;
>
> Tendrias revocar(REVOKE ALL) todos los permisos sobre ese schema a ese
> usuario antes de aplicar los nuevos permisos.
>
> Saludos.
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.nabble.com/Triggers-en-Postgresql-tp5177074p5177080.html
> Sent from the OSGeo Spanish Local Chapter mailing list archive at Nabble.com.
> _______________________________________________
> Spanish mailing list
> http://lists.osgeo.org/mailman/listinfo/spanish
> http://es.osgeo.org
> http://twitter.com/osgeoes


More information about the Spanish mailing list