【发布时间】:2013-12-15 02:32:22
【问题描述】:
在 datagrid 字段中的 form2 上,我有“admin”,这是一个复选框。当我从 form1 调用 form2 我希望它首先检查此用户(已登录)是否已签入字段“admin”。 如果是,则授予用户对 form2 的访问权限,否则返回 form1 并显示一个消息框,说明用户无权访问。
是否应该在 form2 加载时检查“是否已检查”?
编辑:可以这样做吗:
form1:
call form2 function test
form2:
function test that checks if the current user has checked the checkbox in the datagrid
【问题讨论】: