This topic is locked

Restricting Import

2/12/2010 3:30:54 AM
PHPRunner General questions
G
glazer author

How can I do the following? I am able to restrict access to my listpage such that users can only see their own entries using the Advanced settings on the security page. However, when one uses the import facility it allows anyone to add entries to any user's list. How can one make a restriction so that import only is allowed to the list belonging to the login user?

J
Jane 2/15/2010

Mike,
use events on the import page for this purpose. Check Import page: Before insertevent on the Eventstab.

B
bobdansei 3/23/2010



Mike,
use events on the import page for this purpose. Check Import page: Before insertevent on the Eventstab.


Jane can you say a exemple or where i can find a exemple of how make this type of events?

G
glazer author 3/23/2010



Jane can you say a exemple or where i can find a exemple of how make this type of events?


Here is what I have done with respect to a field called Pilote
if ($values["Pilote"]==$_SESSION["UserID"])
return true;

else

return false;