...
User Logs In: The user logs into the Benchmark Web Application.
Access Judicial Viewer: The user navigates to the Judicial Viewer and opens a specific case.
Check User Rights:
The system checks if the user has the "View Petitions" right by verifying it in the Rights.cs class.
It also checks the Court Type ID in
tblCourtTypePresentation
to ensure that the court type allows petitions.
Display Petitions Section:
If the user has the necessary right and the court type supports petitions, the Petitions Area is displayed.
The Petitions section can be either collapsed or expanded depending on user settings.
...