Skip to content

[RFC] Dedicated FOSUserBundle integration #1770

@iluuu1994

Description

@iluuu1994

Sonata has a dedicated SonataAdminBundle bundle. There's already a tutorial in the docs on how to do this for EasyAdminBundle. However, building this into the bundle would make sense because users and groups are a very fundamental requirement. If you're gonna have an admin you can be sure that there's gonna be some kind of user management.

Sonata Admin Bundle has the following features:

  • User listing and editing
  • Group listing and editing
  • Role assignment to users and groups
  • Automatic role discovery (through the security > role_hierarchy property)
  • Impersonation
  • 2FA (Google Authenticator)

There's also things that are less cool, like you have to extend Sonata's BaseUser class instead which is not always possible.

This is a very common use case and thus worth building directly into EasyAdminBundle IMHO.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions