sql and xlat in authorize section