Hi,
NT6.55
I need to limit the access of a loggedin user to a form that is not of its property.
Suppouse a user logged in try to access a record from another user typing:
http://127.0.0.1:88/uPatient?change_btn=change&dat:id=1Then I check for that in the "only serv if" returning a -3 if the page must not be served, some code like:
If (p_stage=ChangeRecord + NET:WEB:StagePre or p_stage=DeleteRecord + NET:WEB:StagePre)
if VerCliUser(DAT:ID_MAIN_CLINIC,p_web.gsv('login_id')) = false
Return -3
end
End
I´ve verified that the return -3 is executed but the page is served.
This code used to work on earlier version of NTWS.
Any thing I can change to make it work?
Thanks