Editing privileges

Hello!
Me and my friends are using your gantt. It works very well, but I have a problem. They can edit and delete my tasks and I can do the same with their. How can I adjust it?

Everybody has another account.

Anyone can help?

Hi,
the gantt component by itself does not have a concept of users and access rights. The login system must be implemented at the application level. Once it done, you can configure gantt as required:

  1. bind users to tasks (add a custom property with user id to the task objects)
  2. define an event handlers for all editing events, and block them if the current user id does no match the id of the user stored in a task object (i.e. user tries to edit others task)

docs.dhtmlx.com/gantt/api__gantt … event.html
docs.dhtmlx.com/gantt/api__gantt … event.html
docs.dhtmlx.com/gantt/api__gantt … event.html
docs.dhtmlx.com/gantt/api__gantt … event.html
docs.dhtmlx.com/gantt/api__gantt … event.html
docs.dhtmlx.com/gantt/api__gantt … event.html

You can use built-in dhtmlxMessage library to indicate limitations to the user dhtmlx.github.io/message/