Don't treat permission name as a machine readable field, use slug instead #115

Merged
Oleg-Komarov merged 2 commits from permissions-use-slug into main 2024-05-06 17:40:07 +02:00

2 Commits

Author SHA1 Message Date
c82e3522fd Don't fail silently in get_by_slug 2024-05-06 17:35:06 +02:00
0e1ab3a921 Don't treat permission name as a machine readable field, use slug instead
This also fixes a discrepancy in behavior between sqlite (case-insensitive
like) and postgresql (case-sensitive like), since we expect slugs to always be
lowercase.
2024-05-06 14:13:22 +02:00