function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Harikrishna MandadapuHarikrishna Mandadapu 

In case object having trigger ,which prevent deletion of the record functionality is working fine but validation rule error is not good.please can any one help me

User-added image
Manish BhatiManish Bhati
Validation is checking user privileges before deleting any case.
Try to login as admin then try or check for code having check for user privileges
VineetKumarVineetKumar
You don't have the delete permission on Case object.
To give yourself the access, please ask your system admin, to give delete access on the Case object.

Do mark my answer as best answer if it helped solve your problem