Have you thought about developing some documentation/book for
RhinoSecurity with book examples and the correct way of implementing
RhinoSecurity in an enterprise application? Many of the examples that
I have learned from have come from scattered blogs and I still don’t
think I know enough or the full potential of RhinoSecurity. I would
defenetly pay for something like this.
--
You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group.
To post to this group, send email to rhino-t...@googlegroups.com.
To unsubscribe from this group, send email to rhino-tools-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en.
May I suggest for the example something like a geopolitical use case?
Where combination of political and geographic factors relate to
security.
On Jan 27, 10:57 am, Ayende Rahien <aye...@ayende.com> wrote:
> Beto,
> That is certainly an interesting suggestion. :-)
>
> How about suggesting a TOC?
>
>
>
> On Wed, Jan 27, 2010 at 8:56 PM, Beto <humbertofra...@gmail.com> wrote:
> > Hi Ayende,
>
> > Have you thought about developing some documentation/book for
> > RhinoSecurity with book examples and the correct way of implementing
> > RhinoSecurity in an enterprise application? Many of the examples that
> > I have learned from have come from scattered blogs and I still don’t
> > think I know enough or the full potential of RhinoSecurity. I would
> > defenetly pay for something like this.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Rhino Tools Dev" group.
> > To post to this group, send email to rhino-t...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > rhino-tools-d...@googlegroups.com<rhino-tools-dev%2Bunsubscribe@ googlegroups.com>
To unsubscribe from this group, send email to rhino-tools-d...@googlegroups.com.
Hello Ayende
I would pay for that too!
Daniel
An educational system is divided into States > Counties > Districts >
Schools. In each level there exist user roles such that a user who
has a “District Administrator Role” is able to edit any School
information that belongs to the district he manages only, and gets a
denied access if he tries modifying a school that is outside the
District that he manages.
Subsequently if a user has a “County Admin Role” he is able to edit
the information at a County (only his own), Districts (that belong to
the County that he manages) and Schools (all the schools in the County
that he manages).
So your access to edit information depends on the role that you are
assign and also the location that you were assign.
Let me know if you have any questions.
Dan
To unsubscribe from this group, send email to rhino-tools-d...@googlegroups.com.
To unsubscribe from this group, send email to rhino-tools-d...@googlegroups.com.
So for a District Admin Role I would be able to assign an
EntityGroup(a district) on the User, but what happens let’s just say
when there exist 1000’s of EntityGroups(Districts) and you would want
to assign an County Admin Role for Orange County, how would you go
about picking the EntityGroups that belong only to Orange County,
since there is no grouping from entity groups to entity groups(such
that you can model County to Districts)? What I could do is traverse
the organizationHiearchy table and get all SecurityKeys that that are
type school and belong to orange county and compare to the entity
references table (assuming there has been an entity reference created
for each school) and do a for loop to assign the user all schools that
belong to Orange County, but this to me sounds like I would be hitting
the permissions table pretty hard. Do you have any suggestions for a
more elegant solution?
On Mar 1, 12:22 am, Ayende Rahien <aye...@ayende.com> wrote:
> I thinkhttp://hibernatingrhinos.com/open-source/rhino-securitywould be a
> better place.
> You can edit it with Live Writer, which is *much* easier.
To unsubscribe from this group, send email to rhino-tools-d...@googlegroups.com.
On Mar 1, 11:21 am, Ayende Rahien <aye...@ayende.com> wrote:
> Beto,
> > > I thinkhttp://hibernatingrhinos.com/open-source/rhino-securitywouldbe a
> ...
>
> read more »
Any suggestions?
My guess is that I will have to create a new function similar to
“CreateChildUserGroupOf” maybe “CreateChildEntityGroupOf” along with
one other function such as GetAncestryAssociation(entity,
entityGroupName).
And will have to update the following functions:
GetPermissionsFor<TEntity>(IUser user, TEntity entity)
GetPermissionsFor<TEntity>(IUser user, TEntity entity, string
operationName)
GetPermissionsFor<TEntity>(TEntity entity)
Is that correct and am I missing any?
Do you have any other suggestions?
> > > > > 1.Where should I post thedocumentation? Would this work:
> ...
>
> read more »
> ...
>
> read more »