audit table with permissions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: "pgsql-admin@xxxxxxxxxxxxxxxxxxxx" <pgsql-admin@xxxxxxxxxxxxxxxxxxxx>
- Subject: audit table with permissions
- From: chris <chrisk@xxxxxxxxxxxxxxx>
- Date: Wed, 28 Feb 2018 14:12:34 -0700
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
I created functions and a trigger to audit tables on my database but I
have a problem with permissions on the functions and function schema I
created. I can grant permissions to the current user of the original
table being audited but I need a way to automate grants and revokes made
to the original table so that any time those change in the future I
don't have to worry about updating permissions or leaving a hole in
security by granting all users full permissions to the functions and
function schema.
From my understanding event triggers can't be set the grant/revoke only
create, alter or drop.
Any input would really help me, I'm very fresh to writing functions and
triggers.
Thanks,
Chris
[Index of Archives]
[KVM ARM]
[KVM ia64]
[KVM ppc]
[Virtualization Tools]
[Spice Development]
[Libvirt]
[Libvirt Users]
[Linux USB Devel]
[Linux Audio Users]
[Yosemite Questions]
[Linux Kernel]
[Linux SCSI]
[XFree86]