I am working on DHIS2 version 2.40 and I have a user whose daily task is to create and delete open forms using the Lock Exception function.
To allow this, I created a dedicated user role called “Manage Exception”, which includes:
the Data Administration / Data Management app
the system authority “Perform maintenance tasks”
With this configuration, the user can successfully create lock exceptions, but when trying to delete them whether individually or in bulk the system returns the following error:
Error removing lock exception: Error: You don’t have the proper permissions to delete this object.
Has anyone experienced this issue or found a configuration that works?
I should mention that if I assign “All (Full authority)”, the user can delete lock exceptions but this gives access to the entire system, which is not acceptable for this user profile.
Any guidance or suggestions would be highly appreciated.
Would you please check that the user has delete permission to the datasets? Check the data set sharing settings and make sure the user has delete permissions on the dataset itself. I think this is a requirement to be able to delete the lock exception.
Please let me know your thoughts and this and if it works when you tried it.