Delete a case in Bonita 2022.1
1 answer
Hi,
There is a regression in 2022.1 with the Admin case list page permissions.
Here is a workaround:
- Go to the bonita admin application, export the ressource "Bonita Admin Case List".
- Open the zip without unzip it. Modify the page.properties and add ", DELETE|bpm/case" to the list of the ressources.
- Change also the name and the displayName.
- In the bonita admin application in ressource page, click on the “install” button.
- Select the modified zip file and update the ressource.
- Go to the application page
- Click on the three dots button for the “Bonita Administrator Application”
- Delete “admin-case-list”
- Click on add page
- Select the previously installed page
- Put “admin-case-list” for the url field
- Delete “Case” under BPM in navigation space
- Click on add under Navigation
- In name input, put “Case” and in page input select the page that you just add.
- Logout and login and then the deletion of a case will be possible.
HTH
Romain
Comments
Hi,
Are you sure the user you are using has the permission to delete a case ?
Yea, all users in the orgazition are admin.
Hi, are you trying to delete an open case or an archived case? Can you share the REST URL called?
openCase ID and archivedCase ID are different, see more explanation here: https://documentation.bonitasoft.com/bonita/2022.1/pages-and-forms/uid-c...
If you are trying to delete an archived Case, then you need to use the archivedCase ID.
HTH
Hi, did you find a solution? I have the same problem with 2022.1, unable to delete a case, from REST and even from WEB GUI in "Bonita Administrator Application"
Best regards
Hello,try to login super admin to request this rest api.
I don't know why,but I solved it by this way.
Hi Xyet, I've try and it works with install user. I can delete a case from REST.
But it's not a solution to use install user to be able to delete a Case!!! There is no GUI possiblities to delete Cases from install user.
Bonitasoft have to give a Solution.
Best regards
I saw an error in logfile (I use fitnesse account to detete the case which is an administrator):
2022-06-07T17:29:38,315+0200 | thp051 | DEBUG | [http-nio-8098-exec-4|91] o.b.e.a.PermissionServiceImpl - THREAD_ID=91 | HOSTNAME=thp051 | TENANT_ID=1 | Unauthorized access to DELETE bpm/case/2 attempted by fitnesse, required permissions: [case_delete]