xyproto / permissionsql

:lock_with_ink_pen: Middleware for keeping track of users, login states and permissions
BSD 3-Clause "New" or "Revised" License
61 stars 9 forks source link

permissionsql => permissionsqlite #4

Closed terminar closed 2 months ago

terminar commented 2 months ago

Hey Alexander,

I wanted to inform you that I have forked this project and "translated" it into permissionsqlite using, well.... simplesqlite (see comment at https://github.com/xyproto/simplemaria/issues/3).

You can find it at https://github.com/terminar/permissionsqlite

Hope that was OK, I am still testing if everything works but the tests are finishing/OK.

Maybe it is possible and makes sense to extend permissionsql to support both (simplemaria and simplesqlite?) via some sort of switch/connectionstring/whatever? Just an idea.

Again, thank you for your work, greetings! Björn

xyproto commented 2 months ago

Hi Björn! Thanks for the forks and notifications. :+1:

An overall package or solution that makes it possible to quickly toggle between backends/connection strings is a good idea!

xyproto commented 2 months ago

@terminar Algernon now supports SQLite as well, thanks to the permissionsqlite package. :)

https://github.com/xyproto/algernon/issues/134