Only do this if permission is not None