weather permitting这里是做定语还是句子的状语?

问题描述:

weather permitting这里是做定语还是句子的状语?
weather ___,we’ll go fishing tomorrow.
A is permitted B permits C permitted D permitting
如果是状语的话,逻辑主语是we,我们允许,所以是主动.
如果是定语逻辑主语是weather,天气被允许,应该是被动.请问是这样么?

是句子的状语,=if weather permits,