The user type you speak of is a "group", and each group has a set of permissions. These permissions get turned in to credentials for the user. So, you create a list of permissions, locking down each individual piece of your functionality. Then you can create groups that give user access to some permissions. Granting them access to the functionality the permission is wrapped around.
- Jon On Tue, Apr 21, 2009 at 5:16 PM, Richtermeister <[email protected]> wrote: > > Hi all, > > I am working on a somewhat large multi-site cms setup (which is a > breeze with symfony's configurability), and I am wondering how much I > should tie my user-administration around the sfGuardPlugin. I have had > great experience with it when it comes to single usertypes (admins for > example), but in my current project, I will have admins and clients > (at least, possibly others). > So, one way I consider is to use the plugin to just manage general > userinfo (username & password) and access control (credentials), and > depending on the usertype, link either a customer model or an admin > model to the general userobject, via a getProfile() method or > something.. > > One caveat might be that "ideally" I'd like the administrators to be > able to assume client roles, so they can look at things from the > client perspective.. but it's probably enough to just auto-login as a > client and keep the session namespaces different between the > applications.. > > Either way, that's where' I'm at. Any experience with multi-users > sfGuardPlugin out there? > > Thanks for your time, > and have a great day. > > Daniel > > > > -- Jonathan H. Wage Open Source Software Developer & Evangelist http://www.jwage.com http://www.doctrine-project.org http://www.symfony-project.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" 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/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
