修改项目级项目访问权限
This commit is contained in:
@@ -294,7 +294,7 @@ namespace FineUIPro.Web
|
||||
Response.Expires = 0; //设置过期时间
|
||||
Response.Cache.SetNoStore(); //在服务器端不缓存该页面
|
||||
Response.AppendHeader("Pragma", "no-cache"); //在客户端不缓存
|
||||
ProjectService.InitProjectShortNameByStateDropDownList(this.drpProject, this.CurrUser.UserId, BLL.Const.ProjectState_1, false);
|
||||
ProjectService.InitProjectShortNameByStateDropDownList(this.drpProject, this.CurrUser.UserId, BLL.Const.ProjectState_1, false,"1");
|
||||
if (!string.IsNullOrEmpty(Request.Params["projectId"]))
|
||||
{
|
||||
this.drpProject.SelectedValue = Request.Params["projectId"];
|
||||
@@ -731,7 +731,7 @@ namespace FineUIPro.Web
|
||||
protected void btnHome_Click(object sender, EventArgs e)
|
||||
{
|
||||
//修改本部用户都能进
|
||||
//this.CurrUser.UnitId == Const.UnitId_CWCEC &&
|
||||
//this.CurrUser.UnitId == Const.drpProject &&
|
||||
if (string.IsNullOrEmpty(this.CurrUser.LastProjectId)
|
||||
&& ((this.CurrUser.IsOffice == true) || this.CurrUser.UserId == Const.sysglyId || this.CurrUser.UserId == Const.hfnbdId))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user