Protoqol / Prequel

Prequel for Laravel. Clear and concise database management. Unfortunately, not actively maintained due to time constraints.

Home Page:https://packagist.org/packages/protoqol/prequel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[FEATURE REQUEST] Authorisation updates (Potential bug?)

Mikeyspike opened this issue · comments

Is your feature request related to a problem? Please describe.
Seems like Prequel strips out any authorisation when you hit the main page, meaning it's not possible to update / create any middleware which checks agains certain levels of access

This also means it's possible to access prequel without being logged into any area of the application.

Describe the solution you'd like
Ability to keep any logged in session in order to be able to check against certain guards or permissions on the logged in user.

Additional context
Not sure if this is actually a bug? just seems strange that there's no auth carried over, but if I head back to the rest of my application, I still have a session.

@Mikeyspike You should add 'web' middleware to config file

Hi @Mikeyspike, Prequel on its own provides a very spartan like middleware protection, secure but extremely simple. Like @ahmad-shawky commented, you should probably add your own middleware or the standard 'web' middelware group.