Excellent stuff Marius - I hope to add an example from the http-auth branch to master this week so will certainly include this
Cheers, Tim On Dec 29, 1:33 pm, Marius <[email protected]> wrote: > Hi, > > If you use so far the HTTP authentication support in Lift, you code > would likely break. So far we could assign a single role to user by > using userRoleRequestVar. This has been changed from: > > object userRole extends RequestVar[Box[Role]](Empty) > > to > > object userRoles extends RequestVar[Box[List[Role]]](Empty) > > In your authentication function you can say: > > userRoles(Full(AuthRole("useradmin", "siteadmin"))) or > userRoles(Full(AuthRole("useradmin"))) > > Br's, > Marius --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
