expose backend#read_allowed in user hooks