fixing permission error for missing attendance links