record level credential scoping