Giter VIP home page Giter VIP logo

Comments (7)

kevinpapst avatar kevinpapst commented on August 25, 2024 1

There is a crazy machine, which tries to find stuff for you ... I think it is called Google 😁 Try to search for "symfony updated security system" or stuff like that. It was introduced with 5.2 and then further improved. Most of the time I follow Twitter and RSS links... which I do not bookmark.

from tablerbundle.

kevinpapst avatar kevinpapst commented on August 25, 2024

I love the idea. The bundle should propagate best practices.
This form is how I use it for "historical reasons". But I am entirely open to improve that.
We just should make sure that we talk about the Symfony version that we want to target.
What about the new security system that was beta in SF5 and is now the default in SF6? I guess there are changes as well.
Keeping several forms would work, but is a nasty job to maintain...

from tablerbundle.

cavasinf avatar cavasinf commented on August 25, 2024

the new security system that was beta in SF5 and is now the default in SF6

Can you provide me any links about that ?

from tablerbundle.

cavasinf avatar cavasinf commented on August 25, 2024

Ah yes !
I've implemented it yesterday when I was upgrading Symfony 4, it's a big improvement by Symfony.

It was introduced with 5.2

So, does that mean that TablerBundle will be for >= SF5 🤔.
SF4 implements will end at end 2022 and die at end 2023.
https://symfony.com/releases

TBH I upgrade it because of that (and PHP 8 too)

from tablerbundle.

kevinpapst avatar kevinpapst commented on August 25, 2024

Yeah. Maybe the bundle should be SF 5+ only.
Just not right now, because my app is in the process of upgrading and I expect it to be a longer task, as I have SAML and LDAP stuff as well, which might become a nightmare during the upgrade...

from tablerbundle.

kevinpapst avatar kevinpapst commented on August 25, 2024

Back to topic: if you want to integrate a new form, please do so.
I am a one man show and this bundle is only here, becuase I want to share the work I have to do anyways for my app.
And I do make mistakes, a lot of them 😁 so any input to make it better is highly appreciated!

from tablerbundle.

jorismak avatar jorismak commented on August 25, 2024

Which security system is active in Symfony has little effect on this, right?

Both the 'old' security system and the new one have some sort of authenticator class, which takes the parameters out of the request and does 'the thing'.

So, which parameters to take out of the request has nothing to do with the security system in place, and thus with the Symfony version.

The only thing - I think - this issue wanted, is to align the form input names used in the examples / templates, with what bin/console make:auth scaffolds for users (that scaffolds an authenticator / guard class and thus scaffolds the code to retrieve user/password/remember_me/csrf from the request). It's nothing but 'aligning defaults' to streamline the development experience, I guess.

Am I correct in this? Because otherwise I don't get it :).

from tablerbundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.