Hi Eric

My initial feeling is that the organisation entity fits into another model
as it introduces another level in the entity hierarchy that isn't applicable
to all applications.

To support organisations I implemented a SecurityService that provides
access to an OrganisationManager and a DynamicModelManager that handles
grant/revoke operations on organisations. The ModelManager implementation is
based upon the HibernateDynamicModelManager as I'm using the framework with
hibernate inside of Cocoon.

To provide this model for the in-memory components as well I'll need to move
the organisation-based operations out of my hibernate-specific ModelManager
into an abstract ModelManager, AbstractOrganisationModelManager?, and add
the OrganisationManager accessor into the BaseSecurityService.

What do you think?

Cheers
Adam

-----Original Message-----
From: Eric Pugh [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 15 December 2004 2:14 a.m.
To: Turbine Users List
Subject: RE: [fulcrum security] Extended Security API


Sure!  Part of the idea of fulcrum security is that you can easily wire up
your own logic for gluing things together.  Having said that, currently we
have three "models" supported:

Dynamic which has roles,groups, users, permissions, delegation of
permissions
Basic which has just groups and users
Turbine which has roles, groups, users, permissions and a funky global group

I am not sure if we want to extend the "Dynamic" model to also have
organization, or just add it as an additional entity and definie a new
model?  The idea is that while there mayb be a couple of common models, most
folks may need to extend it to support what ever funky logic is requried...

Eric

> -----Original Message-----
> From: Adam Ratcliffe [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 14, 2004 11:57 AM
> To: [EMAIL PROTECTED]
> Subject: [fulcrum security] Extended Security API
>
>
> For a project that I'm working on that will be a hosted solution I
> needed to
> extend the security API to introduce an organisation entity.  An
> organisation has a one-to-many relationship with the group entity.
>
> If this code is useful to anybody I can provide these files as a patch.
>
> Cheers
> Adam
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to