Debug grant/revoke, create/drop function