Browse Source

出库转验收单独增加权限

master
wugang 8 years ago
parent
commit
69120b7163
2 changed files with 4 additions and 2 deletions
  1. +1
    -1
      BWP.B3_YunKen.Web/Pages/B3YunKen/B3YunKenSaleOutStoreToCustomerAccept.cs
  2. +3
    -1
      WebFolder/Config/Plugins/B3_YunKen.Plugin

+ 1
- 1
BWP.B3_YunKen.Web/Pages/B3YunKen/B3YunKenSaleOutStoreToCustomerAccept.cs View File

@ -51,7 +51,7 @@ namespace BWP.Web.Pages.B3YunKen {
}
protected override void FrameworkInitialize() {
if (!BLContext.User.IsInRole("B3Sale.客户验收.新建"))
if (!BLContext.User.IsInRole("B3_YunKen.耘垦销售出库转验收单.访问"))
throw new AppSecurityException("你没有权限访问此页面");
base.FrameworkInitialize();
}


+ 3
- 1
WebFolder/Config/Plugins/B3_YunKen.Plugin View File

@ -43,7 +43,9 @@
<Function index="2" name="去运费净价表" />
<Function index="3" name="变价关系表" />
</FunctionGroup>
<FunctionGroup name="耘垦销售出库转验收单" roleSchemas="employee">
<Function index="0" name="访问" />
</FunctionGroup>
</Security>
<Menus>
<Menu id="0001" name="/B3耘垦模块/销售预报调整" roles="B3_YunKen.销售预报调整.访问" url="B3YunKen/SaleForecastUpdateList_/SaleForecastUpdateList.aspx"/>


Loading…
Cancel
Save