We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DoCheckToWrite函数
$myContactId = UserRights::GetContactId(); $thisContactId = $this->Get('contact_id'); if ($myContactId != $thisContactId && !UserRights::IsAdministrator()){ $this->m_aCheckIssues[] = Dict::Format("Class:lnkContactToApplicationSolution/Error:CanOnlyAddLinkForYourself", $thisContactName); }
有漏洞,用户可以把其他人的关联更改为自己的关联,$this->Get('')获取的是当前form的值,不是数据库中的值.
简单的处理办法是不允许更新链接类,只允许增加和删除链接。
The text was updated successfully, but these errors were encountered:
9087c61
No branches or pull requests
DoCheckToWrite函数
有漏洞,用户可以把其他人的关联更改为自己的关联,$this->Get('')获取的是当前form的值,不是数据库中的值.
简单的处理办法是不允许更新链接类,只允许增加和删除链接。
The text was updated successfully, but these errors were encountered: