On Apr 5, 2011, at 3:08 PM, Will Scheidegger wrote:
> > Sorry to keep beating that horse, but... ... it's still not dead yet ;) > > I do have my custom login module all setup and configured and it does > properly authenticate the user via a webservice. Up until now, I just gave > the user the role "superuser" so I would not have to worry about the > permissions. Now I wanted to set things up properly, so I created a group > which I then assigned to the user at login time. Astonishingly this did not > work. > > External user with role X -> works. > External user with group that has role X -> does not work! > Internal user with group that has role X -> works. > > So does anyone know what the difference might be here? My first guess would be that the group resolver is not set properly and doesn't find the groups hence no roles are assigned. You might want to check the subject principals to find GroupPrincipalList and/or also check user.getGroups() > > Thanks! > -will > > > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- - Best regards, Jan Haderka, PhD. Magnolia International Ltd. http://www.magnolia-cms.com http://twitter.com/magnolia_cms http://facebook.com/Magnolia -------------------------------------- Magnolia® - Simple Open-Source Content Management ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
