Sudo-JHare 9b7b8344de Imposes/Complies
Changes Made:

Added configuration options

VALIDATE_IMPOSED_PROFILES and DISPLAY_PROFILE_RELATIONSHIPS.

Updated /api/import-ig to include complies_with_profiles and imposed_profiles in the response.

Updated /api/push-ig to validate resources against imposed profiles using services.validate_resource_against_profile.

Updated /view-ig/<int:processed_ig_id> to load and pass profile relationships to the template.

Passed config to templates to allow conditional rendering based on DISPLAY_PROFILE_RELATIONSHIPS.

Added complies_with_profiles and imposed_profiles to the results dictionary in process_package_file.

Updated save_package_metadata to accept and store complies_with_profiles and imposed_profiles.

Added validate_resource_against_profile and parse_canonical_url functions to handle validation against imposed profiles.
2025-04-11 13:47:09 +10:00

176 KiB