I have implemented it, yes.

No I have not run into any issues.

In my current app, each user has an entity group for entities that the user
owns and the user entity is itself a member of this entity group.  Managers
can then be assigned over certain users by giving them access to the users
entity group.

I have, at times, had user groups that consisted of users I wanted to create
permissions on so this required those users also be in an entity group.
 This seemed like an undue burden.  I am not sure how to solve this though,
and it's not really that bad of a problem.

On Wed, May 26, 2010 at 6:54 PM, Beto <[email protected]> wrote:

> Nathan.
>
> So you have implemented the IEntityInformationExtractor<User> on a
> User entity? Have you run into any issues and do you have a better
> idea/design that would make this less ideal?
>
> On May 26, 4:36 pm, Nathan Stott <[email protected]> wrote:
> > This is something I've noticed as a slight problem as well.  I really
> want
> > to be able to assign users permissions on other users.  Right now I do
> > exactly what the poster is asking about.  I assign users to EntityGroups
> and
> > then I assign UserGroups or Users permissions on those entity groups.  It
> > works, but seems less than ideal.
> >
> >
> >
> > On Wed, May 26, 2010 at 6:13 PM, Beto <[email protected]> wrote:
> > > Hi Ayende
> >
> > > Would you be able to secure Users the same way you would secure any
> > > entity?  That means implementing the UserInformationExtractor:
> > > IEntityInformationExtractor<User> so I can run this type of method
> > > query _authorizationService.IsAllowed(user, targetUser, "/User/Edit")?
> >
> > > And is this something that you would recomend
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Rhino Tools Dev" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<rhino-tools-dev%[email protected]>
> <rhino-tools-dev%2Bunsubscribe@ googlegroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/rhino-tools-dev?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Rhino Tools Dev" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rhino-tools-dev%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rhino-tools-dev?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" 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/rhino-tools-dev?hl=en.

Reply via email to