Data could be common and confidential. There are realized the following rights of access to folders: "read", "write" and "master". They are used to delimit rights to editing data on the site.
The owners of the following rughts have special privileges. You can see it in the following table
|read||Object reading, link getting|
|write||Object reading, link reading. Object editing, link adding and deleting|
|master||Object reading, link reading. Object editing, link adding and deleting
Rights of access "read", "write", "master" to the object setting
How to set the rights?
You can set rights using "addLink" function in script
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.
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.