mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 16:33:16 +00:00
3a300a3996
Deleting a gallery photo ignored the journey id in its path and told no other tab. JourneyGalleryService now holds every photo delete: it checks the edit right and that each photo belongs to the journey named, queues the files for release once the rows are gone and broadcasts journey:updated. The REST routes and the new MCP tool delete_journey_photos (up to 100 ids, all or nothing) go through it. The contributor routes cast the role without checking it, so a raw body could write role 'owner'. The shared contract now takes only editor or viewer, the service refuses any other role, and the role update never touches the owner's own row.
64 lines
1.7 KiB
JSON
64 lines
1.7 KiB
JSON
{
|
|
"AccommodationUpdateDto": 1,
|
|
"AddTripPhotosDto": 3,
|
|
"AdminAddonUpdateDto": 1,
|
|
"AdminDefaultUserSettingsDto": 1,
|
|
"AdminPermissionsDto": 1,
|
|
"AdminTestNotificationDto": 2,
|
|
"AppSettingsUpdateDto": 1,
|
|
"AutoBackupSettingsDto": 1,
|
|
"BookingImportConfirmDto": 1,
|
|
"CollabPollCreateDto": 1,
|
|
"CollectionImportDto": 1,
|
|
"CollectionImportIntoDto": 1,
|
|
"CreateAlbumLinkDto": 5,
|
|
"ImmichSearchDto": 1,
|
|
"ImmichSettingsDto": 2,
|
|
"ImmichTestDto": 1,
|
|
"JourneyAddTripDto": 2,
|
|
"JourneyContributorAddDto": 2,
|
|
"JourneyContributorUpdateDto": 1,
|
|
"JourneyCreateDto": 4,
|
|
"JourneyEntryCreateDto": 2,
|
|
"JourneyEntryPhotoUploadDto": 2,
|
|
"JourneyEntryUpdateDto": 1,
|
|
"JourneyGalleryVideoDto": 2,
|
|
"JourneyLinkPhotoDto": 3,
|
|
"JourneyPhotoUpdateDto": 1,
|
|
"JourneyPreferencesDto": 1,
|
|
"JourneyProviderPhotosDto": 8,
|
|
"JourneyReorderEntriesDto": 2,
|
|
"JourneyShareLinkDto": 5,
|
|
"JourneyUpdateDto": 1,
|
|
"LlmLocalPullDto": 1,
|
|
"OauthClientCreateDto": 1,
|
|
"PackingImportDto": 1,
|
|
"PasskeyLoginVerifyDto": 1,
|
|
"PasskeyRegisterVerifyDto": 2,
|
|
"PasskeyRenameDto": 1,
|
|
"PlaceCreateDto": 1,
|
|
"PlaceEnrichmentDto": 1,
|
|
"PlaceUpdateDto": 1,
|
|
"PluginActivateDto": 1,
|
|
"PluginConfigDto": 1,
|
|
"PluginEgressHostsDto": 2,
|
|
"PluginInstallDto": 1,
|
|
"PluginLinkDto": 1,
|
|
"PluginRetrustDto": 1,
|
|
"PluginRouteDto": 1,
|
|
"PluginUninstallDto": 1,
|
|
"PluginUpdateDto": 1,
|
|
"PluginUserSettingsUpdateDto": 2,
|
|
"RemoveTripPhotoDto": 1,
|
|
"ReservationCreateDto": 1,
|
|
"ReservationUpdateDto": 1,
|
|
"SettingsBulkDto": 1,
|
|
"SettingUpsertDto": 1,
|
|
"SetTripPhotoSharingDto": 2,
|
|
"SynologySearchDto": 1,
|
|
"SynologySettingsDto": 1,
|
|
"SynologyTestDto": 1,
|
|
"TagCreateDto": 3,
|
|
"TagUpdateDto": 3
|
|
}
|