You can set rights using "addLink" function in script
Example:
addLink(data-guestbook-1--mes, write, data-guestbook-admin);
In the example object "data-guestbook-admin" would get rights to object "data-guestbook-1--mes" writing.
To execute "addLink" operation and set the rights you need to have right "master" on the object "data-guestbook-1--mes", or you can do it during object creation.
Example:
add_mes=add(data-guestbook,mes);
addLink(add_mes,write,data-guestbook-admin);

You can set all necessary parameters to the object during it creation using add() function, including "read", "write" and "master:.

Attention! You can create special file ".add" (its contents doesn't matter) in the folder.
Put it in the folder and everybody get right to file creating, but not to already existed editing. Add file and write necessary links to it in the same script. After that do what you want with it. Folder's owner can delete it if it would be necessary.

If you don't create rights on file file requests rights to writing, reading and ownership from higher folder. If it has no rights file requests rights more higher folder. That feature allows to create subfolders with identical rights. Note, objetcdescribed in "rejump_df.conf" file as "$ADMIN" has absolute interest in the folder.