Hi in Version 2.41.3.1 which authorities should one grant a role that will enable them to add lock exceptions without making them a superuser. The F_LOCKEXCEPTION_ADD does not show on the UI for this version.
Hi @Nthatile
Welcome back to the DHIS2 Community of Practice! ![]()
Would you kindly check the name of the authority you are looking for âF_LOCKEXCEPTION_ADDâ because Iâm not able to find this authority anywhere.
In the latest versions, âlegacy and nonstandard authoritiesâ do not appear in the UI and are listed in a separate section at the bottom of the User Role configuration page:
The section above is to help with deleting the âauthoritiesâ that are no longer effective.
Would you please share more about the use case and where you found this authority?
Thanks!
Hi @Gassim , Thanks for your response. Here is a common use case in my country: When the set reporting period comes to an end all datasets are locked to prevent capture after the set date. Then if during supervisions or for whatever other reasons that data needs to be edited in the capture app, someone with the right authority will add a Lock exception for the particular dataste for a period that it needs to be edited for. I however cannot find the âF_LOCKEXCEPTION_ADDâ in my current version in order to assign it to the role responsible for adding those lock exceptions. I mentioneâd the âF_LOCKEXCEPTION_ADDâ because thats the solution I found online while searcing, however I am looking for any standard solution that will work for my version. Below is the view I have:
Hi again @Nthatile !
Thanks for the explanation. ![]()
Could you check the solution suggested by @Saurabh to use the Data Administration app? Here: Unblock dataset for specific health centre - #2 by Saurabh
Please give the user who will configure the lock exception access to the Data Administration app.
I hope this helps, and Iâm looking forward to knowing whether youâll use it and if there are any challenges with taking this approach.
Thanks!
The user does have access to the Data Administration app, but when adding a lock exception the system returns this error: Error adding lock exception: Error: You don't have the proper permissions to update this object
I tried assigning all possible authorities to this role:
And its still returns the error above. However, when I grat the âAll(Full Authority)â the user is able to add lock exceptions, this is challenging as the âAll(Full Authority)â makes the user a superuser even when you restrict certain apps it gives them access to all apps.


