Prevent event deletion in tracker

Hi everyone, has anyone setup DHIS2 to not allow users delete events in the timeline? I have tried removing all authorities from the specific role we are using but doesn´t seem to work. What I need is to remove the delete button or disable it or making it non functional. Any ideas?

Thank you in advance!

William

Dear @waviles

Very interesting use case, however if you allow users to create the event then they must have the right to delete unless you want a group of user to only view not delete them you will have to set this up in access under program configurations


Regards

Hello Prosper,

I completely agree with you. This might be a super specific use case, we need auto generated events can´t be removed by data entry users by mistake. They need to be able to enter information but not delete the event.

Thank you so much!

Best

Dear team. Was this use case reported to Jira ? It is interesting use case, I have a similar requirement on one of my use case

Dear community,

Is there any way to disable delete button? I want to implement similar use case in order to block users from deleting the data without reporting to the line manager.

Hi @Gassim

I have the same use case for a new tracker project: We want managers to schedule events, and fields staffs to fill the events without the possibility to delete events and without the possibility to terminate or deactivate the enrollments.

However, from what i understood so far, if I want the users to be able to fill in the events, they are always allowed to delete events or terminate the enrollments.

Is there a way to achieve it at the moment?

Thanks in advance

Hello all,

We also have the same use case, it will be interesting to explore this feature.

cc @Gassim

Events are really not deleted, but rather marked as being deleted. Maybe it would be enough to have a nightly database script which just restores events which have been marked as deleted?

Regards,
Jason