Traewelling / traewelling

Free check-in service to log your public transit journeys
https://traewelling.de
GNU Affero General Public License v3.0
225 stars 43 forks source link

Default permissions are missing in the database migrations #2311

Closed HerrLevin closed 4 months ago

HerrLevin commented 5 months ago

Describe the bug

With our new permissions-system, some permissions have been added to the database manually rather than through a migration. This is extra work for devs, everytime they recreate their local dev environment.

Permissions which have corresponding fix code-implementations should never be created manually.

See here: (left prod DB, right freshly seeded localhost)

Screenshot 2024-01-30 at 22 22 06

Steps to reproduce

seed your db

Browser console logs

No response

Browser

No response

HerrLevin commented 4 months ago

Fixed by #2312