Change agencyconf to user dir and add permissions for users #19

Open
opened 2024-10-25 15:16:50 +02:00 by Frank · 4 comments
Owner

As done in the OAuth fork. But without the OAuth.

As done in the OAuth fork. But without the OAuth.
Csaba was assigned by Frank 2024-10-25 15:16:50 +02:00
Frank added this to the Amarillo project 2024-10-25 15:16:50 +02:00
Owner

How should we ease the migration to this for existing instances? If there are a lot of agency configurations it is not viable to rename them manually

How should we ease the migration to this for existing instances? If there are a lot of agency configurations it is not viable to rename them manually
Owner

This is also a breaking API change as the gtfs exporter verifies the permission for triggering GTFS generation, so if i rename the router it is incompatible. This is something we will always have to watch out for

This is also a breaking API change as the gtfs exporter verifies the permission for triggering GTFS generation, so if i rename the router it is incompatible. This is something we will always have to watch out for
Author
Owner

This is also a breaking API change as the gtfs exporter verifies the permission for triggering GTFS generation, so if i rename the router it is incompatible. This is something we will always have to watch out for

Iow, when core uses users instead of agencyconfs then all other plugins must be updated accordingly.
Older versions of core must use older versions of the plugins prior to the change.

> This is also a breaking API change as the gtfs exporter verifies the permission for triggering GTFS generation, so if i rename the router it is incompatible. This is something we will always have to watch out for Iow, when core uses users instead of agencyconfs then all other plugins must be updated accordingly. Older versions of core must use older versions of the plugins prior to the change.
Author
Owner

We shall not do it automatically but on startup write a warning if it is wrong and tell the admin how to fix it, where to put the right files.

We shall not do it automatically but on startup write a warning if it is wrong and tell the admin how to fix it, where to put the right files.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: amarillo/amarillo-core#19
No description provided.