Jon Stevens wrote:
>
> Hey all,
>
> For Scarab, I'm going to have to extend Turbine's ACL system to be a bit
> more "complete" to say the least (that isn't a dig against it given that I
> helped design most of it, I just need additional functionality now). One
> thing that I'm going to have to add to Scarab is the concept of "Groups".
>
> The way it looks is something like this:
>
> "User x has Role a in Group f."
> "User x has Role b in Group f."
> "User x has Role b in Group g."
>
> Thus, this will give me the ability to overload the concept of "Group" to
> include "Projects". Thus, I can assign permissions (through Roles) to
> "Groups" or "Projects" that the User belongs in.
>
> The table structure looks something like this:
>
> CREATE TABLE Group (
> GROUPID int(11) DEFAULT '0' NOT NULL,
> NAME varchar(99) DEFAULT '' NOT NULL,
> DESCRIPTION varchar(1024) DEFAULT '' NOT NULL,
> PRIMARY KEY (GROUPID)
> );
>
> I would then alter the VisitorRole table to include GROUPID....
>
> create table VisitorRole (
> VISITORID integer NOT NULL,
> ROLEID integer NOT NULL,
> GROUPID integer NOT NULL,
> PRIMARY KEY (VISITORID, ROLEID, GROUPID),
> INDEX visitorID_roleID_index ( VISITORID, ROLEID, GROUPID )
> );
>
> Then, I would alter all the Java code to take advantage of things.
>
> Instead of making this a general Scarab thing, I would like to make this
> more general for others to use as well by including it in Turbine. So, what
> do you think? Can I modify the stuff in Turbine to add this feature?
+1. Has this been suggested/implemented for Joist as well?
--
Daniel Rall <[EMAIL PROTECTED]>
http://collab.net/ | open source | do the right thing
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]