Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[POC] Remove FOSUserBundle inheritance #1255

Closed
wbloszyk opened this issue Oct 14, 2020 · 3 comments
Closed

[POC] Remove FOSUserBundle inheritance #1255

wbloszyk opened this issue Oct 14, 2020 · 3 comments

Comments

@wbloszyk
Copy link
Member

Feature Request

FOSUserBundle is dead: FriendsOfSymfony/FOSUserBundle#2874 (comment).
This issue is based PR #1253

FOSUser features

  • commands for manage user accout (active, change password, create user, deactive, demote, promote, role)
  • controllers to log in, register ... on front site
  • events and listener - to do things like authenticate user, update cannonical data
  • form - from type for manage account
  • user and group models
  • database managers for user and group
  • translations
  • security - UserProvider (by login, by email..)
  • utils - for generate cannonical data, password updater ...

What SonataUser implements from FOSUser - minimum things to move

  • security providers
    Used in security.firewalls.admin.form_login.provider.
  • resetting system
    Only little part like resetTtl, LoginManager
  • extending models
  • mailer (for resetting)

What should be also move

  • commands
    will be awesome to manage account by commands
  • some utils
    to keep current functionality as the same (cannonical, password updater ...)

What should not be move

  • controllers - we do not wanna support front side
  • events - it is not needed
  • forms - it is not needed
@wbloszyk
Copy link
Member Author

@sonata-project/contributors are you agree with this?

@quberok
Copy link

quberok commented Nov 23, 2020

Great feature! Would be nice to remove FOSUserBundle inheritance.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants