This adds the possibility to define a userland callback that will be used to authorize or not an action on the database.