Public Prosecutor's Office

Public Prosecutor's Office strengthens accessibility and security with Drupal 10

Duration
1 year
Year
2024
Official website
Nova versão do Portal do Ministério Público
Overview
The challenge
The Drupal solution
Results

The Attorney General's Office (PGR) is the highest authority of the Public Prosecutor's Office in Portugal, responsible for coordinating, directing and supervising the activity of prosecutors. In 2024, the PGR took another step in its digital transformation with the launch of the new version of its institutional portal, now in Drupal 10.

Since 2014, JAVALI has been the OPG's technological partner, ensuring the maintenance and continuous evolution of its digital presence. This new portal reflects the commitment to accessibility, security and the centralization of information, through a modern, scalable platform adapted to the demands of the Public Administration.

With more than 40 websites associated with the various directorates, prosecutors' offices and services of the Public Prosecutor's Office, the old portal, developed in Drupal 7, was limited in terms of scalability, performance and compliance with the latest accessibility and security standards.
The migration to Drupal 10 presented several challenges:

  • Ensuring the robust and automated migration of all content;
  • Integrating the Porto and Lisbon regional portals;
  • Unifying the digital experience in a centralized multisite system;
  • Improving accessibility for citizens with special needs;
  • Ensure a modern, responsive and secure platform, prepared for future developments.

The new platform was developed based on a multisite architecture in Drupal 10, making it possible to consolidate all the Public Prosecutor's Office websites in a single technological infrastructure. JAVALI led the complete data migration process from Drupal 7, guaranteeing total content integrity and editorial structure.
Custom modules were also developed to support the organization of content by entity, subject area and user type, and an advanced permissions system with editorial approval flows was implemented.

The design was revamped based on an in-house Design System, guaranteeing visual consistency, total responsiveness on mobile devices and compliance with WCAG accessibility criteria. The browsing experience was optimized with intelligent caching systems, lazy loading and internal search engine integration.

The new Public Prosecutor's Office portal represents a milestone in the institution's digital evolution, having been fully migrated from Drupal 7 to Drupal 10, with total data continuity and without compromising the integrity or existing editorial structure. This transition made it possible to consolidate more than 40 institutional websites on a single multisite platform, ensuring centralized, more efficient and consistent management.

The Oporto and Lisbon regional portals were also integrated, reinforcing the centralization of information and making it easier for citizens to access regional and national content. Accessibility has been significantly improved, with the implementation of WCAG best practices, ensuring that the portal is inclusive and usable by all citizens, including people with visual or motor limitations.

The new design, fully adapted to mobile devices, follows a mobile-first logic, which guarantees a fluid experience on any screen - be it desktop, tablet or smartphone. Editorial management has been optimized, reducing effort and time through a unified interface and simplified workflows. Finally, the platform is now prepared to grow continuously, supporting future maintenance, integration and functional expansion needs.
 

Technologies and features

  • Drupal 10.1.x (latest stable version at time of release)
  • Multisite architecture built on the domain module
  • Automated migration of content and editorial structure
  • Integration via web services with various internal systems of the Public Prosecutor's Office, including databases of legislation, opinions and other institutional resources
  • Customized modules for managing prosecutors' offices, directorates and thematic content
  • Responsive layout with institutional Design System
  • Granular profiles and permissions system
  • Integration with internal search engine
  • Performance optimization with intelligent caching and lazy loading
  • Paragraph-based content
  • Advanced SEO with Metatag, Simple Sitemap, Pathauto and Redirect modules
  • GDPR compliance with specific tools

Contribution to the Drupal community

During development, the JAVALI team played an active role in the Drupal community, contributing relevant improvements:

  • Evolution of the OrgChart module to meet the needs of the project, later shared with the Drupal community
  • Compatibility tests with future versions of the Drupal core, helping to anticipate problems and ensure stability
  • Accessibility corrections applied to the project and shared with the community
  • These contributions reinforce JAVALI's position as a strategic partner in the technological modernization of the Public Administration, promoting the sustainable and responsible use of open-source technologies.
     
Do you have a project in mind?