I’ve a Script code that is executed when I press a button from a Form.
This code has to delete some documents, but if the document dont have the name of the person (who execute the code) in its field (read/write), it can’t delete the document.
can I execute this code anonymous? Because, if I can do it, everybody will can delete all documents, and this is that i want.
If you want allow at everybody (in the world, if your aplication is for Internet ) to delete documents, put “Anonymous” entry in LCA with Editor access and allow it ONLY to Delete document…
all actions from scripts executed in ui will be checked if they fit in current users ecl (execution control list). if clients are properly installed there are signers that are allowed to do such things (without users being prompted), e.g. admin-ids…
try to sign your form with such an id to get it running.