% if permit.match('/bus/account/open'):
新开子账号
% endif
% if user.status == 2:
% if permit.match('/bus/account/resume'):
复机
% endif
% elif user.status == 1:
% if permit.match('/bus/member/update'):
修改基本资料
% endif
% if permit.match('/ops/user/release'):
修改策略
% endif
% if permit.match('/ops/user/release'):
释放绑定
% endif
% if permit.match('/bus/account/change'):
资费变更
% endif
% if permit.match('/bus/account/pause'):
停机
% endif
% if user.product_policy in (0,2,3,5):
% if permit.match('/bus/account/next'):
续费
% endif
% elif user.product_policy in (1,4):
% if permit.match('/bus/account/charge'):
充值
% endif
% endif
% if permit.match('/bus/account/cancel'):
销户
% endif
% elif user.status == 4:
% if permit.match('/bus/account/next'):
续费
% endif
% endif
% if permit.match('/bus/account/delete'):
删除
% endif