• Joe Conway's avatar
    Add object TRUNCATE hook · f7a2002e
    Joe Conway authored
    All operations with acl permissions checks should have a corresponding hook
    so that, for example, mandatory access control (MAC) may be enforced by an
    extension. The command TRUNCATE is missing this hook, so add it. Patch by
    Yuli Khodorkovskiy with some editorialization by me. Based on the discussion
    not back-patched. A separate patch will exercise the hook in the sepgsql
    extension.
    
    Author: Yuli Khodorkovskiy
    Reviewed-by: Joe Conway
    Discussion: https://postgr.es/m/CAFL5wJcomybj1Xdw7qWmPJRpGuFukKgNrDb6uVBaCMgYS9dkaA%40mail.gmail.com
    f7a2002e
objectaccess.c 3.29 KB