rollerworks-graveyard / RollerworksMultiUserBundle

Multi user management for the FOSUserBundle - DISCONTINUED!!
MIT License
56 stars 21 forks source link

Does not work with KunstmaanAdminBundle (or the KunstmaanCMSBundles) #82

Closed 0xPr0xy closed 9 years ago

0xPr0xy commented 9 years ago

Since KunstMaanAdminBundle.php already implements this method:

/**
 * @return string The Bundle parent name it overrides or null if no parent
 */
public function getParent()
{
    return 'FOSUserBundle';
}
sstok commented 9 years ago

I don't think this can be easily fixed.

I know Sonata solves this with https://github.com/sonata-project/SonataUserBundle/blob/master/SonataUserBundle.php

But the KunstMaanAdminBundle uses a hardcoded user configuration so even when you change the parent it still can't use the multi-user system. The KunstMaanAdminBundle should parent-reference the user-system that you use as Administrator, and use the correct routes.