Hi Lee,

Well sfGuard is really your stock-standard ACL system on a very basic  
level.

What are Permissions, they effectively get added as credentials when  
the login action is run.

Groups (sometimes called "roles").... well they a re a collection of  
permissions.

So for example:

The group "Bloggers" might contain the the permissions: edit_post,  
create_post, delete_post.

So, this allows an ACL system to convenient add a number of  
permissions based on a group.

It's a really interesting area to have a play around with and taking a  
look at how the sfGuard works on a code level will give a you a good  
start at getting all the concepts together.

Hope this helps.

- Piers

On 02/01/2008, at 9:12 PM, Lee Bolding wrote:

>
> Hey all,
>
> I'm victim of one of those non-standard, quick-fixes that became  
> dogma that
> I mentioned the other day. I'm trying to remove all of the custom
> authorization/authentication and ACL stuff from an application and  
> replace
> it with SfGuard, so that I have a more easily maintainable  
> application, and
> so that I can use Symfony's security.yml to apply security settings  
> in a
> much more flexible manner.
>
> Anyway, taking a look at sfGuard, I see that it has both groups and
> permissions (tables), but there is nothing in the Wiki that mentions  
> how
> these work, or what the purpose of them is - I would expect  
> permissions to
> map directly to credentials, but there doesn't appear to be any  
> relationship
> at all (at least, not documented) - so what *IS* the use of groups and
> permissions in sfGuard?
>
> Is there some more thorough documentation somewhere? And do I still  
> need to
> declare credentials programmatically? That seems a little clunky :-/
>
> Thanks in advance...
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to