[Common]
修正角色权限加载时,如果权限项目模板文件新增了项目,但旧的Account.xml中没有关于新增项目的权限配置,获取权限时默认赋予WR权限,但Role配置界面中仍然显示为NONE,导致实际情况和配置不匹配的问题。现上述情况默认为无权限。 [UI.Client] Role配置视图的“Page Access Permission”卡片标题增加“Restart Needed”字样,表示该处更改需要重启生效。
This commit is contained in:
parent
8f41b72d85
commit
26927ee05a
|
@ -221,7 +221,7 @@ namespace MECF.Framework.Common.Account.Extends
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return 3;
|
return 1; //MP_NONE
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<AppMenu> GetMenusByRole(string roleid, List<AppMenu> menulist)
|
public List<AppMenu> GetMenusByRole(string roleid, List<AppMenu> menulist)
|
||||||
|
|
|
@ -318,7 +318,7 @@
|
||||||
<TabControl Grid.Row="2">
|
<TabControl Grid.Row="2">
|
||||||
<TabItem>
|
<TabItem>
|
||||||
<TabItem.Header>
|
<TabItem.Header>
|
||||||
<TextBlock FontWeight="Bold" Text="Page Access Permission" />
|
<TextBlock FontWeight="Bold" Text="Page Access Permission (Restart Needed)" />
|
||||||
</TabItem.Header>
|
</TabItem.Header>
|
||||||
<ListView
|
<ListView
|
||||||
Name="RolesList"
|
Name="RolesList"
|
||||||
|
|
Loading…
Reference in New Issue